Commit 547cbe9d authored by Sam Lantinga's avatar Sam Lantinga

Fixed resuming a paused CD on Win2K (thanks Aragorn)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40193
parent 5fb411a3
......@@ -16,6 +16,7 @@ be found at the <A HREF="http://www.libsdl.org/"> main SDL page</A>.
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
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment