mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 13:50:13 +00:00
only call MidiDriver_WIN_create if compiling for windows
svn-id: r3927
This commit is contained in:
parent
65a98de8b9
commit
bad581ae5e
@ -409,7 +409,9 @@ MidiDriver *GameDetector::createMidi() {
|
||||
switch(drv) {
|
||||
case MD_AUTO:
|
||||
case MD_NULL: return MidiDriver_NULL_create();
|
||||
#ifdef WIN32
|
||||
case MD_WINDOWS: return MidiDriver_WIN_create();
|
||||
#endif
|
||||
}
|
||||
|
||||
error("Invalid midi driver selected");
|
||||
|
Loading…
Reference in New Issue
Block a user