sointu/vm/compiler/templates/wasm
5684185+vsariola@users.noreply.github.com 4a8d4c5a29 fix(vm/compiler/templates): modulating delaytime in wasm could crash
The modulated delay time was converted to int with i32.trunc_f32_u.
This throws runtime error if the modulations caused the delaytime
to become negative, because _u implied that it should be unsigned
integer and negative numbers were out of range. Using
i32.trunc_f32_s fixed this.
2024-04-08 20:06:20 +03:00
..
arithmetic.wat feat(vm/compiler): embed templates to executable 2023-07-08 16:39:41 +03:00
effects.wat fix(vm/compiler/templates): modulating delaytime in wasm could crash 2024-04-08 20:06:20 +03:00
output_sound.wat feat(vm/compiler): embed templates to executable 2023-07-08 16:39:41 +03:00
patch.wat refactor(vm): rename Commands/Values to Opcodes/Operands 2023-10-18 19:53:47 +03:00
player.wat refactor(vm): rename Commands/Values to Opcodes/Operands 2023-10-18 19:53:47 +03:00
sinks.wat refactor(vm): rename Commands/Values to Opcodes/Operands 2023-10-18 19:53:47 +03:00
sources.wat refactor(vm): rename Commands/Values to Opcodes/Operands 2023-10-18 19:53:47 +03:00