Fixed Dezaemon sprites (Clear entire OAM address when first byte is written to, but not the second)
This commit is contained in:
@@ -695,7 +695,7 @@ reg213Er:
|
||||
|
||||
; PPU Status Flag & Version number (NTSC/PAL/EXTRN Latch flag)
|
||||
reg213Fr:
|
||||
mov byte[debstop3],1
|
||||
; mov byte[debstop3],1
|
||||
mov al,[romispal]
|
||||
shl al,4
|
||||
or al,[cfield]
|
||||
|
||||
@@ -494,6 +494,7 @@ reg2101w:
|
||||
|
||||
; OAM address register
|
||||
reg2102w:
|
||||
mov word[oamaddr],0
|
||||
shr word[oamaddr],1
|
||||
mov [oamaddr],al
|
||||
shl word[oamaddr],1
|
||||
@@ -553,7 +554,7 @@ reg2104w:
|
||||
je .noinc
|
||||
inc dword[oamaddr]
|
||||
cmp ebx,544
|
||||
je .overflow
|
||||
jae .overflow
|
||||
.noinc
|
||||
mov [oamram+ebx],al
|
||||
ret
|
||||
|
||||
Reference in New Issue
Block a user