Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed resuming a paused CD on Win2K (thanks Aragorn)
  • Loading branch information
slouken committed Sep 23, 2001
1 parent 2da0ffb commit 8fccce3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs.html
Expand Up @@ -16,6 +16,7 @@ <H2>
Major changes since SDL 1.0.0:
</H2>
<UL>
<LI> 1.2.3: Fixed resuming a paused CD on Win2K (thanks Aragorn)
<LI> 1.2.3: Added support for the GNU Pth thread lib (thanks Mandin!)
<LI> 1.2.3: Added the Undo key for the Atari keyboard (thanks Mandin!)
<LI> 1.2.3: Fixed XVideo on GeForce by using last available adaptor
Expand Down
8 changes: 8 additions & 0 deletions src/cdrom/win32/SDL_syscdrom.c
Expand Up @@ -263,7 +263,15 @@ static CDstatus SDL_SYS_CDStatus(SDL_CD *cdrom, int *position)
#endif /* BROKEN_MCI_PAUSE */
break;
case MCI_MODE_PLAY:
#ifdef BROKEN_MCI_PAUSE
if ( SDL_paused[cdrom->id] ) {
status = CD_PAUSED;
} else {
status = CD_PLAYING;
}
#else
status = CD_PLAYING;
#endif /* BROKEN_MCI_PAUSE */
break;
case MCI_MODE_PAUSE:
status = CD_PAUSED;
Expand Down

0 comments on commit 8fccce3

Please sign in to comment.