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;

@ -1 +1 @@
Subproject commit 2f1b90e39701e7de57c191f8bdc2da9e38402215 Subproject commit 4c51a406173066bbc139c41ea39b8886ce299ebb