From 19c3e2772e5e0dbf1dbd58b357cc1987f0200e82 Mon Sep 17 00:00:00 2001 From: DerelictDrone Date: Tue, 28 Nov 2023 15:25:33 -0600 Subject: [PATCH] Mark the opcodes that check for microcode debugging --- lua/wire/zvm/zvm_opcodes.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/wire/zvm/zvm_opcodes.lua b/lua/wire/zvm/zvm_opcodes.lua index 2ce5509..64100b7 100644 --- a/lua/wire/zvm/zvm_opcodes.lua +++ b/lua/wire/zvm/zvm_opcodes.lua @@ -337,6 +337,7 @@ ZVM.OpcodeTable[45] = function(self) --CLP self:Dyn_Emit("VM.PF = 0") end ZVM.OpcodeTable[46] = function(self) --STD + -- TODO: Remove microcode debugging, it's not possible to access normally. if self.MicrocodeDebug then self:Dyn_Emit("VM.Debug = true") end @@ -1170,6 +1171,7 @@ ZVM.OpcodeTable[137] = function(self) --EXTRETP self.OpcodeTable[110](self) -- as EXTRET end ZVM.OpcodeTable[139] = function(self) --CLD + -- TODO: Remove microcode debugging, it's not possible to access normally. if self.MicrocodeDebug then self:Dyn_Emit("VM.Debug = false") end