Skip to content

Commit

Permalink
mark the rest of the microcode debug checks/cases
Browse files Browse the repository at this point in the history
  • Loading branch information
DerelictDrone committed Nov 28, 2023
1 parent f4bcd4e commit 3090ebf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/wire/zvm/zvm_core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ include("wire/zvm/zvm_data.lua")
if ZVM.MicrocodeDebug then -- Debug microcode generator
local pad = 0
function ZVM:Emit(text)
-- TODO: Remove microcode debugging, it's not possible to access normally.
if string.find(text,"end") and (not string.find(text,"if"))
then pad = pad - 1 end

Expand Down Expand Up @@ -318,7 +319,7 @@ function ZVM:Dyn_EndBlock()
self:Dyn_EmitState()
self:Dyn_EmitBreak(true)
end

-- TODO: Remove microcode debugging, it's not possible to access normally.
if self.MicrocodeDebug then
if Msg then
local str = self.EmitBlock
Expand Down

0 comments on commit 3090ebf

Please sign in to comment.