From 3e1e89550fa03412904301a3b96cf67ce19e4007 Mon Sep 17 00:00:00 2001 From: n-a-c-h <> Date: Mon, 4 Apr 2005 17:54:26 +0000 Subject: [PATCH] GUI reset button joined the club. --- zsnes/src/gui/gui.asm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/zsnes/src/gui/gui.asm b/zsnes/src/gui/gui.asm index 4cf2b987..6efbbc28 100644 --- a/zsnes/src/gui/gui.asm +++ b/zsnes/src/gui/gui.asm @@ -167,7 +167,7 @@ EXTSYM GUIHQ4X EXTSYM firstsaveinc EXTSYM nssdip1,nssdip2,nssdip3,nssdip4,nssdip5,nssdip6 EXTSYM SkipMovie,MovieStop,MoviePlay,MovieRecord,MovieInsertChapter -EXTSYM MovieSeekAhead,MovieSeekBehind +EXTSYM MovieSeekAhead,MovieSeekBehind,ResetDuringMovie %ifdef __LINUX__ EXTSYM numlockptr @@ -3592,8 +3592,16 @@ LoadSecondState: GUIProcReset: cmp byte[GUICBHold],2 jne .noreset + pushad mov byte[GUIReset],1 + cmp byte[MovieProcessing],2 ;Recording + jne .nomovierecording + call ResetDuringMovie + jmp .movieendif +.nomovierecording call GUIDoReset +.movieendif + popad cmp byte[CNetType],20 jne .noreset call PreparePacket