Optimize size.

This commit is contained in:
Veikko Sariola
2020-05-16 23:53:39 +03:00
parent 3b33b4e4d2
commit f06810d956
3 changed files with 28 additions and 23 deletions

View File

@ -65,9 +65,8 @@ EXPORT MANGLE_FUNC(su_run_vm,0)
push COM ; Stack: COM
push VAL ; Stack: VAL COM
push WRK ; Stack: WRK VAL COM
%if DELAY_ID > -1
mov ecx, MANGLE_DATA(su_delay_buffer) ; reset delaywrk to first delayline
mov dword [MANGLE_DATA(su_delay_buffer_ofs)], ecx
%if DELAY_ID > -1
mov dword [MANGLE_DATA(su_delay_buffer_ofs)], MANGLE_DATA(su_delay_buffer) ; reset delaywrk to first delayline
%endif
xor ecx, ecx ; voice = 0
push ecx ; Stack: voice WRK VAL COM