From 47032ec8b96780641d2328e3aceddc1afb907ca8 Mon Sep 17 00:00:00 2001 From: Michel Heily Date: Sun, 4 Jul 2021 00:36:21 +0300 Subject: [PATCH] arm: Forgot this one :) Former-commit-id: 7e6dfc766fd4b3872bffa08cfa2276d7517ba048 Former-commit-id: 4001761f719b98ed98d652ee00275dd1d8f7d232 --- core/src/arm7tdmi/arm/exec.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);