mirror of
https://github.com/libretro/snes9x.git
synced 2024-12-02 14:26:38 +00:00
Conditional exclusion of WIN_FMODEX_OPENAL_DRIVER
FMODEX removed support for FMOD_OUTPUTTYPE_OPENAL after V4.31.00 (refer to http://upstream.rosalinux.ru/diffs/fmod/43100_to_43101/diff.html). Therefore, the case for WIN_FMODEX_OPENAL_DRIVER is ignored when using versions of FMODEx that no longer support it.
This commit is contained in:
parent
ac9e3f2094
commit
d432fb77ef
@ -77,9 +77,12 @@ bool CFMODEx::InitFMODEx()
|
||||
case WIN_FMODEX_ASIO_DRIVER:
|
||||
fr = fmodSystem->setOutput(FMOD_OUTPUTTYPE_ASIO);
|
||||
break;
|
||||
|
||||
#if FMOD_VERSION <= 0x00043100
|
||||
case WIN_FMODEX_OPENAL_DRIVER:
|
||||
fr = fmodSystem->setOutput(FMOD_OUTPUTTYPE_OPENAL);
|
||||
break;
|
||||
#endif
|
||||
}
|
||||
|
||||
fr = fmodSystem->init(2,FMOD_INIT_NORMAL,0);
|
||||
|
Loading…
Reference in New Issue
Block a user