1
0

Fix COPY ARY,@DATA

This commit is contained in:
otya128
2016-12-07 23:15:39 +09:00
parent f1ac62c0f1
commit 3de90d2f41

View File

@@ -1535,14 +1535,12 @@ class BuiltinFunction
{ {
//DATAから //DATAから
VM vm = p.vm; VM vm = p.vm;
vm.pushDataIndex();
vm.restoreData(args[1].castString); vm.restoreData(args[1].castString);
for(int i = 0; i < len; i++) for(int i = 0; i < len; i++)
{ {
Value data = vm.readData(); Value data = vm.readData();
dst[dstoffset++] = data; dst[dstoffset++] = data;
} }
vm.popDataIndex();
return; return;
} }
throw new IllegalFunctionCall("COPY (Not implemented error)"); throw new IllegalFunctionCall("COPY (Not implemented error)");