Merge upstream Atmosphere master into boot-storage

Bring in latest upstream changes including zstd/zbic loader refactor,
pinmux named options, and erpt ClearFsInfo fixes.
This commit is contained in:
2026-07-17 12:26:29 +02:00
17 changed files with 396 additions and 234 deletions

View File

@@ -494,6 +494,14 @@ namespace ams::result::impl {
} \
}
#define R_UNLESS_LOG(expr, res, ...) \
{ \
if (!(expr)) { \
AMS_LOG(__VA_ARGS__); \
R_THROW(res); \
} \
}
/// Evaluates a boolean expression, and succeeds if that expression is true.
#define R_SUCCEED_IF(expr) R_UNLESS(!(expr), ResultSuccess())