Mercurial > sdl-ios-xcode
comparison src/audio/windx5/SDL_dx5audio.c @ 2050:bbc89e09503f
Patched to compile again (thanks, Rasmus!).
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Wed, 18 Oct 2006 10:49:23 +0000 |
parents | 5f6550e5184f |
children | c03f1446e897 |
comparison
equal
deleted
inserted
replaced
2049:5f6550e5184f | 2050:bbc89e09503f |
---|---|
483 * audio - it sounds terrible. Punt for now. | 483 * audio - it sounds terrible. Punt for now. |
484 */ | 484 */ |
485 SDL_memset(&ver, '\0', sizeof (OSVERSIONINFO)); | 485 SDL_memset(&ver, '\0', sizeof (OSVERSIONINFO)); |
486 ver.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); | 486 ver.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); |
487 GetVersionEx(&ver); | 487 GetVersionEx(&ver); |
488 if (ver.dwPlatformId == VER_PLATFORM_WIN32_NT) | 488 if (ver.dwPlatformId == VER_PLATFORM_WIN32_NT) { |
489 if (ver.dwMajorVersion <= 4) { | 489 if (ver.dwMajorVersion <= 4) { |
490 return 0; /* NT4.0 or earlier. Disable dsound support. */ | 490 return 0; /* NT4.0 or earlier. Disable dsound support. */ |
491 } | 491 } |
492 } | 492 } |
493 | 493 |