MKChamp, just wanted to say THANK YOU!! for your 'hiscore/nag screens off/whitebox off patch'.
prior to 0.138u2 i used to remove nag screens by editing ui.c (i put 'break;' before each 'case *'):
case 0:
break;
if (show_disclaimer && disclaimer_string(machine, messagebox_text).len() > 0)
ui_set_handler(handler_messagebox_ok, 0);
break;
case 1:
break;
if (show_warnings && warnings_string(machine, messagebox_text).len() > 0)
{
ui_set_handler(handler_messagebox_ok, 0);
if (machine->gamedrv->flags & (GAME_WRONG_COLORS | GAME_IMPERFECT_COLORS | GAME_REQUIRES_ARTWORK | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND | GAME_NO_SOUND))
messagebox_backcolor = UI_YELLOW_COLOR;
if (machine->gamedrv->flags & (GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION))
messagebox_backcolor = UI_RED_COLOR;
}
break;
case 2:
break;
if (show_gameinfo && game_info_astring(machine, messagebox_text).len() > 0)
ui_set_handler(handler_messagebox_anykey, 0);
break;
it worked flawlessly for several years, but stopped working on 0.138u3 - it gave me many compiling errors. so i HAD TO discover new way of doing this. since i'm not a programmer, i couldn't do it in a new way, so i searched the net and found your wonderful diff.
just patched 0.138u3 source with your diff, compiled and voila - no more warning screens again!! also it was nice surprise that all of these options can be turned on and off via new settings in mame.ini. since i'm not interested in hiscore patch, i turned on only no nag and whitebox off patches.
thanks again for the great work!!