Fixed SPC initialization issue, fixes Panic Bomber Worlds and others

This commit is contained in:
pagefault
2003-12-31 00:56:06 +00:00
parent 8fbe0f2741
commit 751c6fe4e2

View File

@@ -114,7 +114,7 @@ EXTSYM ScrDispl,wramreadptr,wramwriteptr
EXTSYM pl1Ltk,pl1Rtk,pl2Ltk,pl2Rtk,pl3Ltk,pl3Rtk,pl4Ltk,pl4Rtk,pl5Ltk,pl5Rtk
EXTSYM loadstate2, headerhack
;initc.c
EXTSYM clearmem
EXTSYM clearmem,clearmem2
EXTSYM PatchUsingIPS
EXTSYM loadZipFile
EXTSYM ZOpenFileName
@@ -1485,6 +1485,11 @@ NEWSYM init65816
cmp esi,040h
jne .loopa
; Clear SPC Memory
pushad
call clearmem2
popad
; Clear Sound buffer
mov edi,[spcBuffera]
mov ecx,65536