570342be45
ZSNES is a complete, featureful and highly optimized Super Nintendo emulator written mostly in x86 assembler. It requires a CPU which understands MMX instructions.
33 lines
910 B
Plaintext
33 lines
910 B
Plaintext
$OpenBSD: patch-src_video_2xsaiw_asm,v 1.1.1.1 2002/03/04 00:58:00 naddy Exp $
|
|
--- src/video/2xsaiw.asm.orig Fri Jan 25 09:21:23 2002
|
|
+++ src/video/2xsaiw.asm Fri Jan 25 09:22:09 2002
|
|
@@ -37,8 +37,9 @@ NEWSYM TwoxSaiWAsmStart
|
|
;----------------------
|
|
|
|
BITS 32
|
|
+ ALIGN 32
|
|
|
|
- SECTION .text ALIGN = 32
|
|
+ SECTION .text
|
|
|
|
srcPtr equ 8
|
|
deltaPtr equ 12
|
|
@@ -2045,7 +2046,7 @@ end:
|
|
;-------------------------------------------------------------------------
|
|
;-------------------------------------------------------------------------
|
|
|
|
- SECTION .data ALIGN = 32
|
|
+ SECTION .data
|
|
;Some constants
|
|
colorMask dd 0xF7DEF7DE, 0xF7DEF7DE
|
|
lowPixelMask dd 0x08210821, 0x08210821
|
|
@@ -2058,7 +2059,7 @@ TRUE dd 0xffffffff, 0xffffffff
|
|
ONE dd 0x00010001, 0x00010001
|
|
|
|
|
|
- SECTION .bss ALIGN = 32
|
|
+ SECTION .bss
|
|
ACPixel resb 8
|
|
Mask1 resb 8
|
|
Mask2 resb 8
|