mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
Wasm backend: fix low-level memory copying function
This commit is contained in:
parent
a81eeeee03
commit
5e3514e5dd
|
@ -233,8 +233,8 @@ public final class WasmRuntime {
|
|||
source = source.add(1);
|
||||
}
|
||||
} else {
|
||||
source.add(count);
|
||||
target.add(count);
|
||||
source = source.add(count);
|
||||
target = target.add(count);
|
||||
while (count-- > 0) {
|
||||
target = target.add(-1);
|
||||
source = source.add(-1);
|
||||
|
|
Loading…
Reference in New Issue
Block a user