From 99c31462885d4276f63dafc139529c4fb9cb8625 Mon Sep 17 00:00:00 2001 From: ghoulslash Date: Fri, 18 Oct 2024 22:02:04 -0400 Subject: [PATCH] add mgba error if opening dexnav when DEXNAV_ENABLED if false --- src/dexnav.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dexnav.c b/src/dexnav.c index 7e652590c4..8fab671981 100644 --- a/src/dexnav.c +++ b/src/dexnav.c @@ -2369,6 +2369,7 @@ void Task_OpenDexNavFromStartMenu(u8 taskId) { if (DEXNAV_ENABLED == FALSE) { // must have it enabled to enter + DebugPrintfLevel(MGBA_LOG_ERROR, "Dexnav was opened when DEXNAV_ENABLED config was disabled! Check include/config/dexnav.h"); DestroyTask(taskId); } else if (!gPaletteFade.active)