mirror of
https://github.com/yawut/SDL.git
synced 2026-08-22 08:45:31 -05:00
Fix for bug reported by Michael Benfield on the SDL mailing list:
"I'm on Mac OS 10.3.9 with a CVS SDL 1.2.9. My understanding is that SDL_CDResume is supposed to resume play after calling SDL_CDPlay. It doesn't on my system. It returns 0 but nothing happens. Any ideas? Thanks. Mike Benfield" --ryan.
This commit is contained in:
@@ -412,7 +412,7 @@ static int SDL_SYS_CDResume(SDL_CD *cdrom)
|
||||
|
||||
Lock ();
|
||||
|
||||
if (PauseFile () < 0) {
|
||||
if (PlayFile () < 0) {
|
||||
Unlock ();
|
||||
return -2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user