Skip to content

Commit

Permalink
Fix emits killing lua on emitted interrupt
Browse files Browse the repository at this point in the history
  • Loading branch information
DerelictDrone committed Dec 3, 2023
1 parent 52f9dcc commit 9ee8d65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/wire/zvm/zvm_core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ function ZVM:Dyn_EmitInterrupt(intNo,intParam)
self:Dyn_EmitState()
self:Emit("VM.IP = %d",(self.PrecompileIP or 0))
self:Emit("VM.XEIP = %d",(self.PrecompileTrueXEIP or 0))
self:Dyn_Emit("VM:Interrupt(%d,%d)",intNo,intParam)
self:Dyn_Emit("VM:Interrupt(%s,%s)",intNo,intParam)
self:Dyn_EmitBreak()
end

Expand Down

0 comments on commit 9ee8d65

Please sign in to comment.