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); }