nx-hbmenu/common/ui.c
2018-02-11 19:07:18 -05:00

19 lines
263 B
C

#include "common.h"
static bool s_shouldExit;
void uiExitLoop(void) {
s_shouldExit = true;
}
bool menuUpdate(void);
bool uiUpdate(void) {
bool exitflag=0;
exitflag = !menuUpdate();
if (!exitflag) return exitflag;
return !s_shouldExit;
}