rem: if (item != NULL) mode = (video_mode *)item->Data();
add: if (item != NULL) { switch (menu->IndexOf(item)) { case 0:  sMode = sDefaultMode; sModeChosen = false; return true; case 1:   break; default: mode = (video_mode *)item->Data(); break; } }
context: video_mode_hook(Menu *menu, MenuItem *item){	// find selected mode	video_mode *mode = NULL;	menu = item->Submenu();	item = menu->FindMarked();	if (item != NULL)		mode = (video_mode *)item->Data();	if (mode != sMode) {		// update standard mode		// ToDo: update fb settings!		sMode = mode;	}	sModeChosen = true;	return true;}