Fixed DOSBox OPL to correctly use OPL3 when it's used for such - patch from TheCollector1995;
Merged my own MPU-401 improvements with TheCollector1995's.
This commit is contained in:
@@ -44,8 +44,8 @@ void opl_init(void (*timer_callback)(void *param, int timer, int64_t period), vo
|
||||
{
|
||||
if (!is_opl3 || !opl3_type)
|
||||
{
|
||||
DBOPL::InitTables();
|
||||
opl[nr].chip.Setup(48000, 0);
|
||||
DBOPL::InitTables();
|
||||
opl[nr].chip.Setup(48000, is_opl3);
|
||||
opl[nr].timer_callback = timer_callback;
|
||||
opl[nr].timer_param = timer_param;
|
||||
opl[nr].is_opl3 = is_opl3;
|
||||
|
||||
Reference in New Issue
Block a user