chore: remove print statements

This commit is contained in:
Rekai Nyangadzayi Musuka 2022-10-21 05:11:47 -03:00
parent da7300a78c
commit 67bf975034
1 changed files with 0 additions and 2 deletions

View File

@ -43,9 +43,7 @@ pub const Arm7tdmi = struct {
} }
pub inline fn step(self: *@This()) u64 { pub inline fn step(self: *@This()) u64 {
std.debug.print("PC: 0x{X:} ", .{self.r[15]});
const opcode = self.fetch(); const opcode = self.fetch();
std.debug.print("opcode: 0x{X:}\n", .{opcode}); // Debug
if (checkCond(&self.cpsr, opcode)) arm_lut[armIdx(opcode)](self, self.bus, opcode); if (checkCond(&self.cpsr, opcode)) arm_lut[armIdx(opcode)](self, self.bus, opcode);
return 1; return 1;