mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-22 02:45:07 -04:00
emummc: fix for svcQueryIoMapping abi change
This commit is contained in:
parent
6fe8ada37a
commit
c07f54f370
8 changed files with 37 additions and 8 deletions
|
@ -26,7 +26,7 @@ namespace ams::dd {
|
|||
u64 region_size;
|
||||
R_TRY_CATCH(svcQueryIoMapping(&virtual_addr, ®ion_size, aligned_addr, aligned_size)) {
|
||||
/* Official software handles this by returning 0. */
|
||||
R_CATCH(svc::ResultNotFound) { exosphere::ForceRebootToRcm(); return 0; }
|
||||
R_CATCH(svc::ResultNotFound) { return 0; }
|
||||
} R_END_TRY_CATCH_WITH_ABORT_UNLESS;
|
||||
AMS_ASSERT(region_size >= aligned_size);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue