strat: vi results over magics

This commit is contained in:
Michael Scire
2019-03-28 20:39:17 -07:00
parent c50cb83ec1
commit 4167dfea14
2 changed files with 3 additions and 3 deletions

View File

@@ -47,7 +47,7 @@ Result ShowFatalTask::SetupDisplayInternal() {
ViDisplay display; ViDisplay display;
/* Try to open the display. */ /* Try to open the display. */
if (R_FAILED((rc = viOpenDisplay("Internal", &display)))) { if (R_FAILED((rc = viOpenDisplay("Internal", &display)))) {
if (rc == 0xE72) { if (rc == ResultViNotFound) {
return 0; return 0;
} else { } else {
return rc; return rc;
@@ -74,7 +74,7 @@ Result ShowFatalTask::SetupDisplayExternal() {
ViDisplay display; ViDisplay display;
/* Try to open the display. */ /* Try to open the display. */
if (R_FAILED((rc = viOpenDisplay("External", &display)))) { if (R_FAILED((rc = viOpenDisplay("External", &display)))) {
if (rc == 0xE72) { if (rc == ResultViNotFound) {
return 0; return 0;
} else { } else {
return rc; return rc;