chore: remove unnecessary @as calls

This commit is contained in:
2022-02-05 21:01:39 -04:00
parent aa6f3c7a92
commit 2842345111
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 {