mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-21 02:15:07 -04:00
strat: vi results over magics
This commit is contained in:
parent
c50cb83ec1
commit
4167dfea14
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue