chore: remove unnecessary @as calls

This commit is contained in:
2022-10-21 05:12:16 -03:00
parent 82b92b4733
commit 8006ca31e6
9 changed files with 41 additions and 43 deletions

View File

@@ -250,7 +250,7 @@ pub const Arm7tdmi = struct {
pub fn step(self: *Self) u64 {
if (self.cpsr.t.read()) {
const opcode = self.thumbFetch();
if (enable_logging) if (self.log_file) |file| self.log(file, @as(u32, opcode));
if (enable_logging) if (self.log_file) |file| self.log(file, opcode);
thumb_lut[thumbIdx(opcode)](self, self.bus, opcode);
} else {