Less useless spaces, spc700 init to ffc0 (byuu), earthbound fix (pagefault).
This commit is contained in:
@@ -618,7 +618,6 @@ NEWSYM AdjustFrequency
|
||||
|
||||
cmp byte[SBHDMA],0
|
||||
je .not16bit
|
||||
; mov eax,dword [SBToSPCSpeeds2+ecx*4] ; redundant
|
||||
.vibrafix
|
||||
mov eax,dword[SBToSPCSpeeds2+ecx*4]
|
||||
.not16bit
|
||||
@@ -705,7 +704,7 @@ NEWSYM InitSPC
|
||||
xor eax,eax
|
||||
xor ebx,ebx
|
||||
mov ebp,spcRam
|
||||
mov ax,0FFC9h
|
||||
mov ax,0FFC0h
|
||||
add ebp,eax
|
||||
mov [spcPCRam],ebp
|
||||
mov dword[spcS],1EFh
|
||||
@@ -5377,33 +5376,13 @@ NEWSYM LPFexit
|
||||
mov edx,[esi+4]
|
||||
add edx,eax
|
||||
sar edx,1
|
||||
|
||||
sub eax,edx
|
||||
; shl eax,1
|
||||
|
||||
mov ebx,[esi+4]
|
||||
sub [esi+4],eax
|
||||
|
||||
sub ebx,edx
|
||||
; shl ebx,1
|
||||
|
||||
sub [esi],ebx
|
||||
|
||||
; sar dword[esi],1
|
||||
; sar dword[esi+4],1
|
||||
|
||||
; mov eax,[esi]
|
||||
; mov edx,[esi+4]
|
||||
; add edx,eax
|
||||
; sar edx,1
|
||||
|
||||
; add [esi],edx
|
||||
; add [esi+4],edx
|
||||
|
||||
add esi,8
|
||||
dec ecx
|
||||
jnz .loop
|
||||
.nosurround
|
||||
ret
|
||||
|
||||
|
||||
|
||||
@@ -380,7 +380,7 @@ NEWSYM GUIDoReset
|
||||
|
||||
xor eax,eax
|
||||
mov edx,spcRam
|
||||
mov ax,0FFC9h
|
||||
mov ax,0FFC0h
|
||||
add edx,eax
|
||||
mov [spcPCRam],edx
|
||||
mov dword[spcS],1EFh
|
||||
|
||||
@@ -2575,8 +2575,8 @@ drawsprng16bt:
|
||||
xor eax,eax
|
||||
test byte[BGMS1+ebx*2+1],10h
|
||||
jnz near drawsprng16bmst
|
||||
test byte[BGMS1+ebx*2],04h
|
||||
jz .main
|
||||
test byte[BGMS1+ebx*2+1],04h
|
||||
jnz .main
|
||||
mov edi,[CMainWinScr]
|
||||
cmp byte[edi+ebx+4*256],0
|
||||
jne near drawsprngw16bt
|
||||
|
||||
Reference in New Issue
Block a user