MMU: Fix bit width for 32bit MMIO reads
Some checks failed
Build check / build (push) Waiting to run
Generate translation template / generate-pot (push) Failing after 31s

This resolves the ghost input issue in N64 virtual console
This commit is contained in:
Exzap 2025-06-28 21:43:40 +02:00
parent 7db2b77983
commit 13ccf9a160
3 changed files with 2 additions and 3 deletions

View file

@ -500,7 +500,7 @@ namespace MMU
// todo - instead of passing the physical address to Read/WriteMMIO we should pass an interface id and a relative address? This would allow remapping the hardware address (tho we can just unregister + register at different addresses)
uint16 ReadMMIO_32(PAddr address)
uint32 ReadMMIO_32(PAddr address)
{
cemu_assert_debug((address & 0x3) == 0);
auto itr = g_mmioHandlerR32->find(address);