SPC RAM cleared properly on soft reset

This commit is contained in:
pagefault
2005-02-19 02:56:54 +00:00
parent 7ed9df9da4
commit 0bcf0716ea
2 changed files with 3 additions and 5 deletions

View File

@@ -112,6 +112,7 @@ EXTSYM DisableSUDPPacket,EnableSUDPPacket
EXTSYM BackStateSize
EXTSYM ResetExecStuff
EXTSYM RestoreCVFrame
EXTSYM ClearSPCRAM
EXTSYM CurRecv,BackState,CBackupPos,PBackupPos,PPValue,DPValue,NetQuitter
EXTSYM LatencyV
EXTSYM LatencyRecvPtr,LatencySendPtr

View File

@@ -503,12 +503,9 @@ NEWSYM GUIDoReset
.skipfileend
pushad
call RestoreSystemVars
call ClearSPCRAM
popad
; clear spc700 ram
mov al,0FFh
mov edi,spcRam
mov ecx,65472
rep stosb
; clear dsp ram
xor al,al
mov edi,DSPMem