diff options
author | luccie-cmd <luccie@sideros.org> | 2025-03-21 12:43:50 +0100 |
---|---|---|
committer | Lorenzo Torres <torres@sideros.org> | 2025-03-21 22:49:43 +0100 |
commit | 94a4dc16c65cd73a0c4721199fc5131945ece77c (patch) | |
tree | fe7055253da08b92578cf6f27821ecc4e18ee6a4 /src/mods | |
parent | bbe9213573943f2ac5cc840bfb1788e756353449 (diff) |
Fix formatting
Signed-off-by: luccie-cmd <luccie@sideros.org>
Diffstat (limited to 'src/mods')
-rw-r--r-- | src/mods/vm.zig | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mods/vm.zig b/src/mods/vm.zig index 2558ced..cbeb865 100644 --- a/src/mods/vm.zig +++ b/src/mods/vm.zig @@ -84,14 +84,13 @@ pub const Runtime = struct { var pc = frame.program_counter; while (depth > 0) { const opcode = frame.code[pc]; - const operand = frame.code[pc+1]; + const operand = frame.code[pc + 1]; if (opcode == 0x02 and operand == 0x40) { depth += 1; } else if (opcode == 0x0B) { depth -= 1; } - - pc += 1; // Move forward + pc += 1; } try self.labels.append(pc); frame.program_counter += 1; |