示例#1
0
文件: np2.cpp 项目: perabuss/np2wii
static void framereset(void) {

	framecnt = 0;
	if (np2oscfg.DISPCLK & 3) {
		if (sysmng_workclockrenewal()) {
			sysmng_updatecaption(3);
		}
	}
}
示例#2
0
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);
}