Oops, fixed the bug I introduced. Frame display toggle now works.

This commit is contained in:
adelikat 2008-11-14 13:35:01 +00:00
parent 08ba562b06
commit 8c174ae9b2
1 changed files with 20 additions and 18 deletions

View File

@ -934,8 +934,9 @@ void FCEUMOV_AddCommand(int cmd)
void FCEU_DrawMovies(uint8 *XBuf) void FCEU_DrawMovies(uint8 *XBuf)
{ {
if(frame_display if(frame_display)
&& movieMode != MOVIEMODE_INACTIVE) {
if (movieMode != MOVIEMODE_INACTIVE)
{ {
char counterbuf[32] = {0}; char counterbuf[32] = {0};
@ -954,6 +955,7 @@ void FCEU_DrawMovies(uint8 *XBuf)
if(counterbuf[0]) if(counterbuf[0])
DrawTextTrans(XBuf+FCEU_TextScanlineOffsetFromBottom(24), 256, (uint8*)counterbuf, 0x20+0x80); DrawTextTrans(XBuf+FCEU_TextScanlineOffsetFromBottom(24), 256, (uint8*)counterbuf, 0x20+0x80);
} }
}
} }
void FCEU_DrawLagCounter(uint8 *XBuf) void FCEU_DrawLagCounter(uint8 *XBuf)