Movie being reset sort of working now.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user