From d3b7ddf96dfb3d6d700e22aa3f8dc496050d8fa4 Mon Sep 17 00:00:00 2001 From: pagefault <> Date: Tue, 2 Oct 2001 20:25:12 +0000 Subject: [PATCH] Fixed video mode saving in windows port --- zsnes/src/cfgload.asm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/zsnes/src/cfgload.asm b/zsnes/src/cfgload.asm index 3539695f..f3294c8f 100644 --- a/zsnes/src/cfgload.asm +++ b/zsnes/src/cfgload.asm @@ -1471,12 +1471,20 @@ NEWSYM getcfg ret .novideo2 cmp byte[.stringb],'2' - jne .novideo + jne .novideo3 mov al,[.stringb+1] sub al,28 mov [cvidmode],al mov [cfgcvidmode],al ret +.novideo3 + cmp byte[.stringb],'3' + jne .novideo + mov al,[.stringb+1] + sub al,18 + mov [cvidmode],al + mov [cfgcvidmode],al + ret .getexecute cmp dword[.strlenb],0