chore: remove print statements

This commit is contained in:
Rekai Nyangadzayi Musuka 2022-01-03 21:30:08 -06:00
parent 3aa680ab8c
commit 1fefd4de5c
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;