mirror of https://github.com/stella-emu/stella.git
Updated Windows build to support SDL 2.0.8.
This commit is contained in:
parent
2949821814
commit
524cec907a
|
@ -23,6 +23,8 @@
|
||||||
|
|
||||||
* Fixed bug in UI navigation with joystick hat movement.
|
* Fixed bug in UI navigation with joystick hat movement.
|
||||||
|
|
||||||
|
* Updated version of SDL included with the Windows build to 2.0.8.
|
||||||
|
|
||||||
-Have fun!
|
-Have fun!
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -46,6 +46,13 @@ SoundSDL2::SoundSDL2(OSystem& osystem)
|
||||||
{
|
{
|
||||||
myOSystem.logMessage("SoundSDL2::SoundSDL2 started ...", 2);
|
myOSystem.logMessage("SoundSDL2::SoundSDL2 started ...", 2);
|
||||||
|
|
||||||
|
#ifdef BSPF_WINDOWS
|
||||||
|
// TODO - remove the following code once we convert to the new sound
|
||||||
|
// core, and use 32-bit floating point samples and do
|
||||||
|
// our own resampling
|
||||||
|
SDL_setenv("SDL_AUDIODRIVER", "directsound", true);
|
||||||
|
#endif
|
||||||
|
|
||||||
// The sound system is opened only once per program run, to eliminate
|
// The sound system is opened only once per program run, to eliminate
|
||||||
// issues with opening and closing it multiple times
|
// issues with opening and closing it multiple times
|
||||||
// This fixes a bug most prevalent with ATI video cards in Windows,
|
// This fixes a bug most prevalent with ATI video cards in Windows,
|
||||||
|
|
Loading…
Reference in New Issue