Fix for bug reported by Michael Benfield on the SDL mailing list:
authorRyan C. Gordon <icculus@icculus.org>
Mon, 22 Aug 2005 14:38:31 +0000
changeset 1126 d581fe3f36db
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
--- a/src/cdrom/macosx/SDL_syscdrom.c	Mon Aug 22 14:18:15 2005 +0000
+++ b/src/cdrom/macosx/SDL_syscdrom.c	Mon Aug 22 14:38:31 2005 +0000
@@ -412,7 +412,7 @@
     
     Lock ();
     
-    if (PauseFile () < 0) {
+    if (PlayFile () < 0) {
         Unlock ();
         return -2;
     }