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]