mirror of
https://github.com/Atmosphere-NX/Atmosphere-libs.git
synced 2025-06-28 14:02:40 +02:00
emummc: fix for svcQueryIoMapping abi change
This commit is contained in:
parent
a253850abc
commit
ca8ebfa73c
@ -26,7 +26,7 @@ namespace ams::dd {
|
|||||||
u64 region_size;
|
u64 region_size;
|
||||||
R_TRY_CATCH(svcQueryIoMapping(&virtual_addr, ®ion_size, aligned_addr, aligned_size)) {
|
R_TRY_CATCH(svcQueryIoMapping(&virtual_addr, ®ion_size, aligned_addr, aligned_size)) {
|
||||||
/* Official software handles this by returning 0. */
|
/* 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;
|
} R_END_TRY_CATCH_WITH_ABORT_UNLESS;
|
||||||
AMS_ASSERT(region_size >= aligned_size);
|
AMS_ASSERT(region_size >= aligned_size);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user