Fix for bug reported by Michael Benfield on the SDL mailing list:
authorRyan C. Gordon
Mon, 22 Aug 2005 14:38:31 +0000
changeset 1126d581fe3f36db
parent 1125 a6011e1394d9
child 1127 fb8818ee9112
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.
src/cdrom/macosx/SDL_syscdrom.c
     1.1 --- a/src/cdrom/macosx/SDL_syscdrom.c	Mon Aug 22 14:18:15 2005 +0000
     1.2 +++ b/src/cdrom/macosx/SDL_syscdrom.c	Mon Aug 22 14:38:31 2005 +0000
     1.3 @@ -412,7 +412,7 @@
     1.4      
     1.5      Lock ();
     1.6      
     1.7 -    if (PauseFile () < 0) {
     1.8 +    if (PlayFile () < 0) {
     1.9          Unlock ();
    1.10          return -2;
    1.11      }