diff --git a/stratosphere/ro/source/ro_registration.cpp b/stratosphere/ro/source/ro_registration.cpp index e7ea854..a179a8c 100644 --- a/stratosphere/ro/source/ro_registration.cpp +++ b/stratosphere/ro/source/ro_registration.cpp @@ -362,11 +362,11 @@ continue; } - if (context->nro_infos[slot].nro_heap_address == nro_address) { + if (context->nro_infos[slot].base_address == nro_address) { break; } } - if (slot == Registration::MaxNrrInfos) { + if (slot == Registration::MaxNroInfos) { return ResultRoNotLoaded; }