mirror of
https://github.com/vsariola/sointu.git
synced 2025-09-19 11:44:37 -04:00
Fix su_render_samples to return correct values when built in 32-bit.
This commit is contained in:
@ -112,6 +112,7 @@ su_render_samples_buffer_full:
|
|||||||
pop _AX
|
pop _AX
|
||||||
pop _AX
|
pop _AX
|
||||||
%if BITS == 32 ; stdcall
|
%if BITS == 32 ; stdcall
|
||||||
|
mov [_SP + 28],eax ; we want to return eax, but popad pops everything, so put eax to stack for popad to pop
|
||||||
popad
|
popad
|
||||||
ret 12
|
ret 12
|
||||||
%else
|
%else
|
||||||
|
Reference in New Issue
Block a user