mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-23 03:06:52 -04:00
Fix logic in ldr_ro_manager
Fix argument type for isdigit/isxdigit
This commit is contained in:
parent
b0a66a63ba
commit
e561919a52
9 changed files with 34 additions and 33 deletions
|
@ -136,13 +136,14 @@ namespace sts::ldr::ro {
|
|||
/* Nintendo doesn't actually care about successful allocation. */
|
||||
for (size_t i = 0; i < ModuleCountMax; i++) {
|
||||
ModuleInfo *module = &info->modules[i];
|
||||
if (!module->in_use) {
|
||||
if (module->in_use) {
|
||||
continue;
|
||||
}
|
||||
|
||||
std::memcpy(module->info.build_id, build_id, sizeof(module->info.build_id));
|
||||
module->info.base_address = address;
|
||||
module->info.size = size;
|
||||
module->in_use = true;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue