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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401127
This commit is contained in:
Ryan C. Gordon 2005-08-22 14:38:31 +00:00
parent a3e073d82b
commit 3da700edc4

View file

@ -412,7 +412,7 @@ static int SDL_SYS_CDResume(SDL_CD *cdrom)
Lock ();
if (PauseFile () < 0) {
if (PlayFile () < 0) {
Unlock ();
return -2;
}