Movie being reset sort of working now.

This commit is contained in:
n-a-c-h
2005-04-03 00:12:11 +00:00
parent 38aa8aafcd
commit cc9585f992
2 changed files with 13 additions and 6 deletions

View File

@@ -893,6 +893,16 @@ reexecuteb2:
call DeInitPostGame
.skippostgame
cmp byte[MovieExitLoop],1
jne .notmoviereset
mov byte[MovieExitLoop],0
;mov byte[MovieProcessing],0
call GUIDoReset
mov byte[MovieProcessing],1
mov byte[ReturnFromSPCStall],0
jmp continueprog
.notmoviereset
; clear all keys
call Check_Key
cmp al,0
@@ -2731,7 +2741,9 @@ NEWSYM cpuover
call ProcessMovies
popad
cmp byte[MovieExitLoop],1
je execloop.startagain ;Where do we jump to?
jne .noprocmovie
mov byte[MovieProcessing],0
jmp reexecuteb
.noprocmovie
test byte[INTEnab],1

View File

@@ -1768,17 +1768,12 @@ void Replay()
bool MovieExitLoop = false;
void ProcessMovies()
{
MovieExitLoop = false;
switch (MovieProcessing)
{
case MOVIE_PLAYBACK:
Replay();
if (GUIReset == 1)
{
SetMovieMode(MOVIE_OFF);
asm_call(GUIDoReset);
SetMovieMode(MOVIE_PLAYBACK);
ReturnFromSPCStall = 0;
MovieExitLoop = true;
}
break;