From ca7fab0efcfe90fde93c3df0dede8b08781f2ae2 Mon Sep 17 00:00:00 2001 From: n-a-c-h <> Date: Fri, 10 Dec 2004 08:11:05 +0000 Subject: [PATCH] Fixed jumps. --- zsnes/src/video/hq2x16.asm | 8 ++++---- zsnes/src/video/hq2x32.asm | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/zsnes/src/video/hq2x16.asm b/zsnes/src/video/hq2x16.asm index 78fc0dca..71c53fd4 100644 --- a/zsnes/src/video/hq2x16.asm +++ b/zsnes/src/video/hq2x16.asm @@ -569,7 +569,7 @@ hq2x: pand mm2,mm4 movd eax,mm2 inc eax - jz .loopx_end + jz near .loopx_end movd eax,mm5 movzx edx,ax mov [w1],edx @@ -610,7 +610,7 @@ hq2x: cwde and eax,ebx inc eax - jz .loopx_end + jz near .loopx_end movd eax,mm5 mov [edx+ecx-2],ax movzx edx,ax @@ -1895,7 +1895,7 @@ hq2x: jmp .loopx .xres_2 ; x=Xres-2 - special case - jl .xres_1 + jl near .xres_1 mov edx,[deltaptr] mov ecx,[prevline] mov eax,[nextline] @@ -1949,7 +1949,7 @@ hq2x: jmp .flags .xres_1 cmp dword[xcounter],-1 - jl .endofline + jl near .endofline ; x=Xres-1 - special case mov edx,[deltaptr] mov ecx,[prevline] diff --git a/zsnes/src/video/hq2x32.asm b/zsnes/src/video/hq2x32.asm index 561b5214..eb3d2812 100644 --- a/zsnes/src/video/hq2x32.asm +++ b/zsnes/src/video/hq2x32.asm @@ -502,7 +502,7 @@ hq2x: pand mm2,mm4 movd eax,mm2 inc eax - jz .loopx_end + jz near .loopx_end movd eax,mm5 movzx edx,ax mov [w1],edx @@ -543,7 +543,7 @@ hq2x: cwde and eax,ebx inc eax - jz .loopx_end + jz near .loopx_end movd eax,mm5 mov [edx+ecx-2],ax movzx edx,ax @@ -1878,7 +1878,7 @@ hq2x: jmp .loopx .xres_2 ; x=Xres-2 - special case - jl .xres_1 + jl near .xres_1 mov edx,[deltaptr] mov ecx,[prevline] mov eax,[nextline] @@ -1932,7 +1932,7 @@ hq2x: jmp .flags .xres_1 cmp dword[xcounter],-1 - jl .endofline + jl near .endofline ; x=Xres-1 - special case mov edx,[deltaptr] mov ecx,[prevline]