ams: globally prefer R_RETURN to return for ams::Result

This commit is contained in:
Michael Scire committed 2022-03-26 14:48:33 -07:00
1 parent dd78ede99f
commit bbf22b4c60
325 files changed
+1955 -1993

No files matched your search

+1 -1
View File
@@ -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();