Fastforward no longer causes trouble if frame increase is used.

This commit is contained in:
grinvader
2005-05-13 23:34:21 +00:00
parent 07fef52f3e
commit 23bc512dae
2 changed files with 3 additions and 3 deletions

View File

@@ -55,7 +55,7 @@ EXTSYM fxbit67pcal,SfxSFR,nosprincr,cpucycle,switchtovirqdeb,switchtonmideb
EXTSYM MovieSeekBehind,SaveSramData,BackupCVFrame,RestoreCVFrame,loadstate
EXTSYM KeyInsrtChap,KeyNextChap,KeyPrevChap,MovieInsertChapter,MovieSeekAhead
EXTSYM ResetDuringMovie,EMUPauseKey,INCRFrameKey,MovieWaiting,NoInputRead
EXTSYM AllocatedRewindStates,SlowDownLock
EXTSYM AllocatedRewindStates,SlowDownLock,FastForwardLock
%ifdef __MSDOS__
EXTSYM dssel
@@ -1433,6 +1433,7 @@ NEWSYM cpuover
cmp byte[EMUPause],1
jne .noemupause
mov byte[SlowDownLock],0 ; prevents some random desyncs
mov byte[FastForwardLock],0 ; prevents some random desyncs
call ProcessRewind

View File

@@ -231,9 +231,8 @@ SECTION .data
SaveRamSaved db 'SAVED SRAM DATA',0
SECTION .bss
FastForwardLock resb 1
NEWSYM FastForwardLock, resb 1
NEWSYM SlowDownLock, resb 1
FastForwardLockp resb 1
NEWSYM CSprWinPtr, resd 1
NEWSYM SloMo, resb 1 ; number of extra times to draw a frame
section .text