3ds: Fix crash on shutdown

It is required to call gfxExit() before exiting the app if gfxInit() was previously called. Otherwise, the GSP thread continues to run after the stack is invalidated. The missing code is already in lcd_shutdown(), but it was never called because HAVE_LCD_SHUTDOWN was not defined for the ctru target.

Change-Id: I8999df6372cd593c5b52478028ad7421b23d5f92
This commit is contained in:
Vencislav Atanasov 2026-03-11 18:42:39 +02:00
parent e13befb925
commit aa834e83aa

View file

@ -22,6 +22,9 @@
/* define this if you have a colour LCD */
#define HAVE_LCD_COLOR
/* Define this if the LCD can shut down */
#define HAVE_LCD_SHUTDOWN
/* define this if you want album art for this target */
#define HAVE_ALBUMART