From 1a304ebba0b808e19faf87e65e8e5e28b1120a22 Mon Sep 17 00:00:00 2001 From: pagefault <> Date: Fri, 10 Aug 2001 19:55:46 +0000 Subject: [PATCH] Moved some code around --- zsnes/src/gui/guimouse.inc | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/zsnes/src/gui/guimouse.inc b/zsnes/src/gui/guimouse.inc index 72e3be47..f8ab9c97 100644 --- a/zsnes/src/gui/guimouse.inc +++ b/zsnes/src/gui/guimouse.inc @@ -1305,19 +1305,6 @@ GUIWinClicked: %endif %endmacro -%macro GUIClickCButtonMMX 3 - cmp eax,%1+1 - jl %%noclick - cmp edx,%2+3 - jl %%noclick - cmp eax,%1+6 - jg %%noclick - cmp edx,%2+8 - jg %%noclick - xor %3,2 -%%noclick -%endmacro - %macro GUIClickCButtonI 3 cmp eax,%1+1 jl %%noclick @@ -1334,6 +1321,19 @@ GUIWinClicked: %%noclick %endmacro +%macro GUIClickCButtonMMX 3 + cmp eax,%1+1 + jl %%noclick + cmp edx,%2+3 + jl %%noclick + cmp eax,%1+6 + jg %%noclick + cmp edx,%2+8 + jg %%noclick + xor %3,2 +%%noclick +%endmacro + %macro GUISlidebarPostImpl 13 ; x1,y1,x2,y2,upjump,downjump,holdpos,scsize,view,cur,listsize cmp dword[%11],0 je near %%nolower