Update main.cpp

This commit is contained in:
Elliott.Wen 2020-10-22 15:55:53 +13:00 committed by GitHub
parent b21f0fb29e
commit f11c75cf3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -3287,7 +3287,7 @@ public:
stdinRestore(); stdinRestore();
#endif #endif
} }
virtual bool isDBusCheckedRegion(uint32_t address){ return isPerifRegion();} // Should only check IO region virtual bool isDBusCheckedRegion(uint32_t address){ return isPerifRegion(address);} // Should only check IO region
virtual bool isPerifRegion(uint32_t addr) { return (addr & 0xF0000000) == 0xF0000000 || (addr & 0xE0000000) == 0xE0000000;} virtual bool isPerifRegion(uint32_t addr) { return (addr & 0xF0000000) == 0xF0000000 || (addr & 0xE0000000) == 0xE0000000;}
virtual bool isMmuRegion(uint32_t addr) { return true; } virtual bool isMmuRegion(uint32_t addr) { return true; }