ldr:: panic::SmcError is now always included

This commit is contained in:
Lightos1
2026-04-29 18:39:20 +02:00
parent 8f243c8369
commit de89768c74
3 changed files with 3 additions and 10 deletions

View File

@@ -162,10 +162,7 @@ namespace ams::ldr::hoc::pcv {
for (auto &v : validators) {
if (R_FAILED(v.check())) {
#if defined(AMS_BUILD_FOR_AUDITING) || defined(AMS_BUILD_FOR_DEBUGGING)
panic::SmcError(v.panic);
#endif
panic::SmcError(v.panic);
CRASH("Validation FAIL");
}
}

View File

@@ -480,9 +480,7 @@ namespace ams::ldr::hoc::pcv::erista {
for (auto &entry : patches) {
LOGGING("%s Count: %zu", entry.description, entry.patched_count);
if (R_FAILED(entry.CheckResult())) {
#if defined(AMS_BUILD_FOR_AUDITING) || defined(AMS_BUILD_FOR_DEBUGGING)
panic::SmcError(panic::Patch);
#endif
panic::SmcError(panic::Patch);
CRASH(entry.description);
}

View File

@@ -1111,9 +1111,7 @@ namespace ams::ldr::hoc::pcv::mariko {
for (auto &entry : patches) {
LOGGING("%s Count: %zu", entry.description, entry.patched_count);
if (R_FAILED(entry.CheckResult())) {
#if defined(AMS_BUILD_FOR_AUDITING) || defined(AMS_BUILD_FOR_DEBUGGING)
panic::SmcError(panic::Patch);
#endif
panic::SmcError(panic::Patch);
CRASH(entry.description);
}