From d2a6bd529c5921ba98a00b0e3bfc68587a74b75b Mon Sep 17 00:00:00 2001 From: theoddone33 <> Date: Wed, 18 Apr 2001 00:49:50 +0000 Subject: [PATCH] fix arrows in f3 menu, but it still has many problems --- zsnes/src/video/procvid.asm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/zsnes/src/video/procvid.asm b/zsnes/src/video/procvid.asm index 3da172d5..6bee08af 100644 --- a/zsnes/src/video/procvid.asm +++ b/zsnes/src/video/procvid.asm @@ -2143,19 +2143,35 @@ NEWSYM testpressed8b .noright cmp byte[OSPort],3 jne near .nowin32 +%ifdef __LINUX__ + test byte[pressed+05Ch],1 +%else test byte[pressed+0CBh],1 +%endif jz .noleft2 cmp bl,0 je .noleft2 dec bl +%ifdef __LINUX__ + test byte[pressed+05Ch],1 +%else mov byte[pressed+0CBh],2 +%endif .noleft2 +%ifdef __LINUX__ + test byte[pressed+05Eh],1 +%else test byte[pressed+0CDh],1 +%endif jz .noright2 cmp bl,9 je .noright2 inc bl +%ifdef __LINUX__ + test byte[pressed+05Eh],1 +%else mov byte[pressed+0CDh],2 +%endif .noright2 .nowin32 ret