mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-23 03:06:52 -04:00
ams: globally prefer R_RETURN to return for ams::Result
This commit is contained in:
parent
dd78ede99f
commit
bbf22b4c60
325 changed files with 1955 additions and 1993 deletions
|
@ -275,7 +275,7 @@ namespace ams::ldr {
|
|||
|
||||
Result LoadMetaFromCache(Meta *out_meta, const ncm::ProgramLocation &loc, const cfg::OverrideStatus &status) {
|
||||
if (g_cached_program_id != loc.program_id || g_cached_override_status != status) {
|
||||
return LoadMeta(out_meta, loc, status);
|
||||
R_RETURN(LoadMeta(out_meta, loc, status));
|
||||
}
|
||||
*out_meta = g_meta_cache.meta;
|
||||
R_SUCCEED();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue