mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-17 00:24:23 -04:00
strat: refactor address taking of form &var[...]
This commit is contained in:
parent
b0e520112b
commit
ec65c39d17
12 changed files with 53 additions and 53 deletions
|
@ -30,7 +30,7 @@ namespace ams::ldr::args {
|
|||
ArgumentInfo *FindArgumentInfo(ncm::ProgramId program_id) {
|
||||
for (size_t i = 0; i < MaxArgumentInfos; i++) {
|
||||
if (g_argument_infos[i].program_id == program_id) {
|
||||
return &g_argument_infos[i];
|
||||
return g_argument_infos + i;
|
||||
}
|
||||
}
|
||||
return nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue