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 call DeInitPostGame
.skippostgame .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 ; clear all keys
call Check_Key call Check_Key
cmp al,0 cmp al,0
@@ -2731,7 +2741,9 @@ NEWSYM cpuover
call ProcessMovies call ProcessMovies
popad popad
cmp byte[MovieExitLoop],1 cmp byte[MovieExitLoop],1
je execloop.startagain ;Where do we jump to? jne .noprocmovie
mov byte[MovieProcessing],0
jmp reexecuteb
.noprocmovie .noprocmovie
test byte[INTEnab],1 test byte[INTEnab],1

View File

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