mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-23 00:24:11 -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);
|
source = source.add(1);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
source.add(count);
|
source = source.add(count);
|
||||||
target.add(count);
|
target = target.add(count);
|
||||||
while (count-- > 0) {
|
while (count-- > 0) {
|
||||||
target = target.add(-1);
|
target = target.add(-1);
|
||||||
source = source.add(-1);
|
source = source.add(-1);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user