add mgba error if opening dexnav when DEXNAV_ENABLED if false
This commit is contained in:
parent
cb9f1f27a7
commit
99c3146288
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue