From 4167dfea141ed51686a685951392daeddb5ed4c3 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Thu, 28 Mar 2019 20:39:17 -0700 Subject: [PATCH] strat: vi results over magics --- stratosphere/fatal/source/fatal_task_screen.cpp | 4 ++-- stratosphere/libstratosphere | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/stratosphere/fatal/source/fatal_task_screen.cpp b/stratosphere/fatal/source/fatal_task_screen.cpp index 282b9bf82..673d3309c 100644 --- a/stratosphere/fatal/source/fatal_task_screen.cpp +++ b/stratosphere/fatal/source/fatal_task_screen.cpp @@ -47,7 +47,7 @@ Result ShowFatalTask::SetupDisplayInternal() { ViDisplay display; /* Try to open the display. */ if (R_FAILED((rc = viOpenDisplay("Internal", &display)))) { - if (rc == 0xE72) { + if (rc == ResultViNotFound) { return 0; } else { return rc; @@ -74,7 +74,7 @@ Result ShowFatalTask::SetupDisplayExternal() { ViDisplay display; /* Try to open the display. */ if (R_FAILED((rc = viOpenDisplay("External", &display)))) { - if (rc == 0xE72) { + if (rc == ResultViNotFound) { return 0; } else { return rc; diff --git a/stratosphere/libstratosphere b/stratosphere/libstratosphere index 2f1b90e39..4c51a4061 160000 --- a/stratosphere/libstratosphere +++ b/stratosphere/libstratosphere @@ -1 +1 @@ -Subproject commit 2f1b90e39701e7de57c191f8bdc2da9e38402215 +Subproject commit 4c51a406173066bbc139c41ea39b8886ce299ebb