New warning screens

This commit is contained in:
bsongis
2012-05-23 20:15:12 +00:00
parent 090a74369a
commit 925d661640
16 changed files with 129 additions and 53 deletions
+2 -2
View File
@@ -466,7 +466,7 @@ void popMenu()
(*g_menuStack[g_menuStackPtr])(EVT_ENTRY_UP);
}
else {
alert(STR_MENUSERROR);
assert(!"Menus overflow!");
}
}
@@ -492,7 +492,7 @@ void pushMenu(MenuFuncP newMenu)
if(g_menuStackPtr >= DIM(g_menuStack))
{
g_menuStackPtr--;
alert(STR_MENUSERROR);
assert(!"Menus overflow!");
return;
}
AUDIO_MENUS();