描画をいじりRelease

This commit is contained in:
otya128 committed 2016-02-22 20:23:20 +09:00
1 parent 42e514a989
commit 15f0dca3ea
5 files changed
+130 -114

No files matched your search

+6 -2
View File
@@ -37,8 +37,7 @@ class VMSlot
}
class VM
{
static const directModeSlot = 5;
VMSlot[6] slots;
VMSlot[5] slots;
int slot;
VMSlot currentSlot;
int stacki;
@@ -58,6 +57,11 @@ class VM
{
currentSlot = slots[slot];
}
void directSlot(Code[] code, int len, VMVariable[wstring] globalTable, Function[wstring] functions, DataTable gdt/*GNU Debugging Tools*/,
int[wstring] globalLabel, DebugInfo dinfo)
{
this.currentSlot.code ~= code;
}
void loadSlot(int slot, Code[] code, int len, VMVariable[wstring] globalTable, Function[wstring] functions, DataTable gdt/*GNU Debugging Tools*/,
int[wstring] globalLabel, DebugInfo dinfo)
{