mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-10 08:51:19 +12:00
Add debug asserts for invalid MEMPTR
Also fixed some corruptions this uncovered
This commit is contained in:
parent
7886b594a2
commit
808d1bb424
13 changed files with 193 additions and 156 deletions
|
@ -263,4 +263,6 @@ namespace MMU
|
|||
uint16 ReadMMIO_32(PAddr address);
|
||||
uint16 ReadMMIO_16(PAddr address);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#define MMU_IsInPPCMemorySpace(__ptr) ((const uint8*)(__ptr) >= memory_base && (const uint8*)(__ptr) < (memory_base + 0x100000000))
|
Loading…
Add table
Add a link
Reference in a new issue