Fixed resuming a paused CD on Win2K (thanks Aragorn)
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40193
This commit is contained in:
parent
5fb411a341
commit
547cbe9d23
2 changed files with 9 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue