mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-29 17:20:07 +02:00
Fix check for SDL2 version
This commit is contained in:
@@ -472,7 +472,7 @@ int main(int argc, char **argv)
|
|||||||
want_aspec.samples = 512;
|
want_aspec.samples = 512;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if SDL_COMPILEDVERSION > 2006 && defined(_WIN32)
|
#if SDL_COMPILEDVERSION >= 2006 && defined(_WIN32)
|
||||||
/* SDL 2.0.6 offers WASAPI support which allows for much lower audio buffer lengths which at least
|
/* SDL 2.0.6 offers WASAPI support which allows for much lower audio buffer lengths which at least
|
||||||
theoretically reduces lagging. */
|
theoretically reduces lagging. */
|
||||||
printf("SDL 2.0.6+ detected, reducing audio buffer to 32 samples\n");
|
printf("SDL 2.0.6+ detected, reducing audio buffer to 32 samples\n");
|
||||||
|
Reference in New Issue
Block a user