mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-02 04:51:19 +12:00
MMU: Fix bit width for 32bit MMIO reads
This resolves the ghost input issue in N64 virtual console
This commit is contained in:
parent
7db2b77983
commit
13ccf9a160
3 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -261,7 +261,7 @@ namespace MMU
|
|||
|
||||
void WriteMMIO_32(PAddr address, uint32 value);
|
||||
void WriteMMIO_16(PAddr address, uint16 value);
|
||||
uint16 ReadMMIO_32(PAddr address);
|
||||
uint32 ReadMMIO_32(PAddr address);
|
||||
uint16 ReadMMIO_16(PAddr address);
|
||||
|
||||
}
|
||||
|
|
|
@ -87,7 +87,6 @@ namespace HW_SI
|
|||
|
||||
HWREG::SICOMCSR SI_COMCSR_R32(PAddr addr)
|
||||
{
|
||||
//cemuLog_logDebug(LogType::Force, "Read SICOMCSR");
|
||||
return g_si.registerState.sicomcsr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue