mirror of
https://github.com/vsariola/sointu.git
synced 2025-06-03 17:18:20 -04:00
fix(asm/RECEIVE): Enabling stereo receive broke mono receive versions.
This commit is contained in:
parent
8ec3a1208b
commit
41fa46e954
@ -379,18 +379,17 @@ su_op_loadval_mono:
|
|||||||
SECT_TEXT(sureceiv)
|
SECT_TEXT(sureceiv)
|
||||||
|
|
||||||
EXPORT MANGLE_FUNC(su_op_receive,0)
|
EXPORT MANGLE_FUNC(su_op_receive,0)
|
||||||
lea _CX, [WRK+su_unit.ports]
|
lea _DI, [WRK+su_unit.ports]
|
||||||
%ifdef INCLUDE_STEREO_RECEIVE
|
%ifdef INCLUDE_STEREO_RECEIVE
|
||||||
jnc su_op_receive_mono
|
jnc su_op_receive_mono
|
||||||
xor eax,eax
|
xor ecx,ecx
|
||||||
fld dword [_CX+su_receive_ports.right]
|
fld dword [_DI+su_receive_ports.right]
|
||||||
mov dword [_CX+su_receive_ports.right],eax
|
mov dword [_DI+su_receive_ports.right],ecx
|
||||||
su_op_receive_mono:
|
su_op_receive_mono:
|
||||||
%else
|
|
||||||
xor eax,eax
|
|
||||||
%endif
|
%endif
|
||||||
fld dword [_CX+su_receive_ports.left]
|
xor ecx,ecx
|
||||||
mov dword [_CX+su_receive_ports.left],eax
|
fld dword [_DI+su_receive_ports.left]
|
||||||
|
mov dword [_DI+su_receive_ports.left],ecx
|
||||||
ret
|
ret
|
||||||
|
|
||||||
%endif ; RECEIVE_ID > -1
|
%endif ; RECEIVE_ID > -1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user