ldr:: panic::SmcError is now always included
This commit is contained in:
@@ -162,10 +162,7 @@ namespace ams::ldr::hoc::pcv {
|
|||||||
|
|
||||||
for (auto &v : validators) {
|
for (auto &v : validators) {
|
||||||
if (R_FAILED(v.check())) {
|
if (R_FAILED(v.check())) {
|
||||||
#if defined(AMS_BUILD_FOR_AUDITING) || defined(AMS_BUILD_FOR_DEBUGGING)
|
panic::SmcError(v.panic);
|
||||||
panic::SmcError(v.panic);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
CRASH("Validation FAIL");
|
CRASH("Validation FAIL");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -480,9 +480,7 @@ namespace ams::ldr::hoc::pcv::erista {
|
|||||||
for (auto &entry : patches) {
|
for (auto &entry : patches) {
|
||||||
LOGGING("%s Count: %zu", entry.description, entry.patched_count);
|
LOGGING("%s Count: %zu", entry.description, entry.patched_count);
|
||||||
if (R_FAILED(entry.CheckResult())) {
|
if (R_FAILED(entry.CheckResult())) {
|
||||||
#if defined(AMS_BUILD_FOR_AUDITING) || defined(AMS_BUILD_FOR_DEBUGGING)
|
panic::SmcError(panic::Patch);
|
||||||
panic::SmcError(panic::Patch);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
CRASH(entry.description);
|
CRASH(entry.description);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1111,9 +1111,7 @@ namespace ams::ldr::hoc::pcv::mariko {
|
|||||||
for (auto &entry : patches) {
|
for (auto &entry : patches) {
|
||||||
LOGGING("%s Count: %zu", entry.description, entry.patched_count);
|
LOGGING("%s Count: %zu", entry.description, entry.patched_count);
|
||||||
if (R_FAILED(entry.CheckResult())) {
|
if (R_FAILED(entry.CheckResult())) {
|
||||||
#if defined(AMS_BUILD_FOR_AUDITING) || defined(AMS_BUILD_FOR_DEBUGGING)
|
panic::SmcError(panic::Patch);
|
||||||
panic::SmcError(panic::Patch);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
CRASH(entry.description);
|
CRASH(entry.description);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user