diff --git a/core/src/arm7tdmi/arm/exec.rs b/core/src/arm7tdmi/arm/exec.rs index ed74e47..885b55b 100644 --- a/core/src/arm7tdmi/arm/exec.rs +++ b/core/src/arm7tdmi/arm/exec.rs @@ -326,7 +326,7 @@ impl Core { } else { self.get_reg(dest_reg) }; - if insn.transfer_size() == 1 { + if BYTE { self.store_8(addr, value as u8, NonSeq); } else { self.store_aligned_32(addr & !0x3, value, NonSeq);