Some code cleanup and dead code removal.
This commit is contained in:
@@ -503,29 +503,14 @@ NEWSYM GUIDoReset
|
||||
.skipfileend
|
||||
pushad
|
||||
call RestoreSystemVars
|
||||
call clearSPCRAM
|
||||
popad
|
||||
|
||||
; clear dsp ram
|
||||
xor al,al
|
||||
mov edi,DSPMem
|
||||
mov ecx,256
|
||||
rep stosb
|
||||
|
||||
; reset the snes
|
||||
call init65816
|
||||
pushad
|
||||
call procexecloop
|
||||
popad
|
||||
|
||||
mov eax,spcRam
|
||||
mov edx,0EFh
|
||||
.loop
|
||||
mov byte[eax],0
|
||||
inc eax
|
||||
dec edx
|
||||
jnz .loop
|
||||
|
||||
xor eax,eax
|
||||
mov edx,spcRam
|
||||
mov ax,0FFC9h
|
||||
|
||||
Reference in New Issue
Block a user