0x7F000000-0x7FFFFFFF is magic.

This commit is contained in:
gibbed
2015-05-22 02:20:05 -05:00
parent b74859dda3
commit ea99ba8e3b
2 changed files with 4 additions and 2 deletions

View File

@@ -270,8 +270,10 @@ void Memory::UnmapViews() {
BaseHeap* Memory::LookupHeap(uint32_t address) {
if (address < 0x40000000) {
return &heaps_.v00000000;
} else if (address < 0x80000000) {
} else if (address < 0x7F000000) {
return &heaps_.v40000000;
} else if (address < 0x80000000) {
return nullptr;
} else if (address < 0x90000000) {
return &heaps_.v80000000;
} else if (address < 0xA0000000) {