comparison src/cdrom/macosx/SDL_syscdrom.c @ 1126:d581fe3f36db

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.
author Ryan C. Gordon <icculus@icculus.org>
date Mon, 22 Aug 2005 14:38:31 +0000
parents b8d311d90021
children c9b51268668f
comparison
equal deleted inserted replaced
1125:a6011e1394d9 1126:d581fe3f36db
410 return -1; 410 return -1;
411 } 411 }
412 412
413 Lock (); 413 Lock ();
414 414
415 if (PauseFile () < 0) { 415 if (PlayFile () < 0) {
416 Unlock (); 416 Unlock ();
417 return -2; 417 return -2;
418 } 418 }
419 419
420 status = CD_PLAYING; 420 status = CD_PLAYING;