diff --git a/src/core/bus.cpp b/src/core/bus.cpp index f38caeadf..5c09bc97c 100644 --- a/src/core/bus.cpp +++ b/src/core/bus.cpp @@ -967,7 +967,7 @@ ALWAYS_INLINE_RELEASE void DoInstructionRead(PhysicalMemoryAddress address, void } else if (address >= BIOS_BASE && address < (BIOS_BASE + BIOS_SIZE)) { - std::memcpy(data, &g_bios[(address - BIOS_BASE) & BIOS_MASK], sizeof(u32)); + std::memcpy(data, &g_bios[(address - BIOS_BASE) & BIOS_MASK], sizeof(u32) * word_count); if constexpr (add_ticks) g_state.pending_ticks += m_bios_access_time[static_cast(MemoryAccessSize::Word)] * word_count; }