diff options
author | Oxore <oxore@protonmail.com> | 2022-09-26 02:44:17 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2022-09-26 02:44:17 +0300 |
commit | 66aaa9dc37d0c2d00bcd46e9c97b867c4a807303 (patch) | |
tree | ebc6315a92ff0cda180ec516e58f985b40b2801c | |
parent | ab0fddd81a4c2cf6075f6a59014a1f12eab19c70 (diff) |
Use correct bitness for 32-bit write
-rw-r--r-- | bus.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -313,7 +313,7 @@ void m68k_write_memory_16(const unsigned int address_a, const unsigned int value void m68k_write_memory_32(const unsigned int address_a, const unsigned int value) { const uint32_t address = MASK_24(address_a); - const bool successful = memory_write(BITNESS_16, address, value); + const bool successful = memory_write(BITNESS_32, address, value); if (!successful) { report_error("Attempted to write 0x%08x (u32) to address %08x", value&0xff, address); m68k_breakpoint_callback(); |