From 2633b3e310aa98f5ed4e0f9efd4e8c5fe618ba19 Mon Sep 17 00:00:00 2001 From: MrHuu Date: Sun, 17 Jan 2021 15:44:35 +0100 Subject: [PATCH] (3DS) On error, only init gfx on salamander build This prevents graphical issues if the gfx is already initialized. Which should always be the case if called from a running core. --- ctr/ctr_system.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ctr/ctr_system.c b/ctr/ctr_system.c index 615488777e..a83268a9d1 100644 --- a/ctr/ctr_system.c +++ b/ctr/ctr_system.c @@ -325,9 +325,9 @@ void wait_for_input(void) void error_and_quit(const char* errorStr) { errorConf error; - +#ifdef IS_SALAMANDER gfxInitDefault(); - +#endif errorInit(&error, ERROR_TEXT, CFG_LANGUAGE_EN); errorText(&error, errorStr); errorDisp(&error);