mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-01 00:12:59 +00:00
At request by DrMcCoy enable DOSBox OPL2 by default whenever DISABLE_DOSBOX_OPL isn't defined.
svn-id: r40335
This commit is contained in:
parent
08581ed698
commit
16bd319684
@ -38,13 +38,13 @@ OPL *OPL::create(kOplType type) {
|
||||
assert(!_hasInstance);
|
||||
_hasInstance = true;
|
||||
|
||||
if (type == kOpl2)
|
||||
return new MAME::OPL_MAME();
|
||||
else
|
||||
#ifndef DISABLE_DOSBOX_ADLIB
|
||||
return new DOSBox::OPL_DOSBox(type);
|
||||
#else
|
||||
#ifdef DISABLE_DOSBOX_OPL
|
||||
if (type != kOpl2)
|
||||
return 0;
|
||||
else
|
||||
return new MAME::OPL_MAME();
|
||||
#else
|
||||
return new DOSBox::OPL_DOSBox(type);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user