mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-23 03:06:52 -04:00
exo2: fix a number of bugs, add temp debug-log code
This commit is contained in:
parent
aa50944568
commit
bb3a8a888f
5 changed files with 48 additions and 5 deletions
|
@ -101,7 +101,7 @@ namespace ams::secmon {
|
|||
}
|
||||
|
||||
uintptr_t MapSmcUserPage(uintptr_t address) {
|
||||
if (g_smc_user_page_physical_address != 0) {
|
||||
if (g_smc_user_page_physical_address == 0) {
|
||||
if (!(MemoryRegionDram.GetAddress() <= address && address <= MemoryRegionDramHigh.GetEndAddress() - MemoryRegionVirtualSmcUserPage.GetSize())) {
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue