static void framereset(void) { framecnt = 0; sysmng_updatecaption(); memdbg_process(); skbdwin_process(); }
static int flagload(const TCHAR *ext, const TCHAR *title, BOOL force) { int ret; int id; TCHAR path[MAX_PATH]; TCHAR buf[1024]; getstatfilename(path, ext, NELEMENTS(path)); winuienter(); id = IDYES; ret = statsave_check(path, buf, NELEMENTS(buf)); if (ret & (~STATFLAG_DISKCHG)) { MessageBox(hWndMain, _T("Couldn't restart"), title, MB_OK | MB_ICONSTOP); id = IDNO; } else if ((!force) && (ret & STATFLAG_DISKCHG)) { TCHAR buf2[1024 + 256]; wsprintf(buf2, _T("Conflict!\n\n%s\nContinue?"), buf); id = MessageBox(hWndMain, buf2, title, MB_YESNOCANCEL | MB_ICONQUESTION); } if (id == IDYES) { statsave_load(path); } sysmng_workclockreset(); sysmng_updatecaption(); winuileave(); return(id); }
static void framereset(void) { framecnt = 0; if (np2oscfg.DISPCLK & 3) { if (sysmng_workclockrenewal()) { sysmng_updatecaption(3); } } }
void menu_setdispclk(BYTE value) { MenuHandle hmenu; value &= 3; np2oscfg.DISPCLK = value; hmenu = _GetMenu(IDM_OTHER); _CheckMenuItem(hmenu, IDM_DISPCLOCK, MFCHECK(value & 1)); _CheckMenuItem(hmenu, IDM_DISPFLAME, MFCHECK(value & 2)); sysmng_workclockrenewal(); sysmng_updatecaption(3); }
static void framereset(NP2MAIN &np2m, UINT uCount) { np2m.uFrameCount = 0; sysmng_updatecaption(); }