Previous 15994 Revisions Next

r7304 Wednesday 10th February, 2010 at 11:04:57 UTC by Miodrag Milanović
Reverted back change, and disabled warning removal, since it is against policy.
[src/emu]emuopts.c emuopts.h ui.c
[src/mess/osd/winui]propertiesms.c
[src/osd/winui]mameui.rc

src/osd/winui/mameui.rc
r7303r7304
944944    PUSHBUTTON      "Restore Default Settings",IDC_USE_DEFAULT,118,222,97,14,
945945                    0,0,HIDC_USE_DEFAULT
946946#ifdef MESS
947    CONTROL         "Skip warnings",IDC_SKIP_WARNINGS,"Button",
948                    BS_AUTOCHECKBOX | WS_TABSTOP,119,134,86,10,0
949947    CONTROL         "Use New UI",IDC_USE_NEW_UI,"Button",
950                    BS_AUTOCHECKBOX | WS_TABSTOP,119,146,86,10,0
948                    BS_AUTOCHECKBOX | WS_TABSTOP,119,134,86,10,0
951949#endif
952950END
953951
src/emu/emuopts.c
r7303r7304
154154   { "bios",                        NULL,        0,                 "select the system BIOS to use" },
155155   { "cheat;c",                     "0",         OPTION_BOOLEAN,    "enable cheat subsystem" },
156156   { "skip_gameinfo",               "0",         OPTION_BOOLEAN,    "skip displaying the information screen at startup" },
157   { "skip_warnings",               "0",         OPTION_BOOLEAN,    "skip displaying the warnings screen" },
158157
159158   { NULL }
160159};
src/emu/emuopts.h
r7303r7304
150150#define OPTION_BIOS               "bios"
151151#define OPTION_CHEAT            "cheat"
152152#define OPTION_SKIP_GAMEINFO      "skip_gameinfo"
153#define OPTION_SKIP_WARNINGS      "skip_warnings"
154153
155154
156155
src/emu/ui.c
r7303r7304
237237   int show_warnings = TRUE;
238238   int state;
239239
240   show_warnings = !options_get_bool(mame_options(), OPTION_SKIP_WARNINGS);
241   if (!show_warnings)
242      show_disclaimer = FALSE;
243
244240   /* disable everything if we are using -str for 300 or fewer seconds, or if we're the empty driver,
245241       or if we are debugging */
246242   if (!first_time || (str > 0 && str < 60*5) || machine->gamedrv == &GAME_NAME(empty) || (machine->debug_flags & DEBUG_FLAG_ENABLED) != 0)
src/mess/osd/winui/propertiesms.c
r7303r7304
487487   // MESS specific stuff
488488   datamap_add(properties_datamap, IDC_DIR_LIST,            DM_STRING,   NULL);
489489   datamap_add(properties_datamap, IDC_RAM_COMBOBOX,         DM_INT,      OPTION_RAMSIZE);
490   datamap_add(properties_datamap, IDC_SKIP_WARNINGS,         DM_BOOL,   OPTION_SKIP_WARNINGS);
491490   datamap_add(properties_datamap, IDC_USE_NEW_UI,            DM_BOOL,   "newui");
492491
493492   // set up callbacks

Previous 15994 Revisions Next


© 1998-2018 The MESS Team