Fixed SPC initialization issue, fixes Panic Bomber Worlds and others
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user