Main > Software Forum
how to get rid of the disclaimer in mame 102
headkaze:
Or change to these lines in mame.c
--- Code: --- /* if we didn't find a settings file, show the disclaimer */
if (settingsloaded || options.skip_disclaimer || 1)
{
/* show info about incorrect behaviour (wrong colors etc.) */
if (options.skip_warnings || 1)
{
/* show info about the game */
if (options.skip_gameinfo || 1)
--- End code ---
electricd:
Just found this thread and used headkaze's method for disabling. After I compile, do I have to turn on any switches to make this happen, or did the lines I changed automatically take care of business for me? Thanks!
Farmboy90:
--- Quote from: electricd on January 13, 2006, 10:53:37 am ---Just found this thread and used headkaze's method for disabling. After I compile, do I have to turn on any switches to make this happen, or did the lines I changed automatically take care of business for me? Thanks!
--- End quote ---
If you used his method then no, nothing else is needed. Just compile and things will be fine for you.
electricd:
OK just re-compiled MAME with the changes, but still seeing the "OK" screen. If I set the "skip_gameinfo" to 0 I still see the game info as well. I changed these lines in Mame.c
Original:
if (settingsloaded || options.skip_disclaimer || ui_display_copyright(artwork_get_ui_bitmap()) == 0)
{
/* show info about incorrect behaviour (wrong colors etc.) */
if (options.skip_warnings || ui_display_game_warnings(artwork_get_ui_bitmap()) == 0)
{
/* show info about the game */
if (options.skip_gameinfo || ui_display_game_info(artwork_get_ui_bitmap()) == 0)
Changed:
if (settingsloaded || options.skip_disclaimer || 1)
{
/* show info about incorrect behaviour (wrong colors etc.) */
if (options.skip_warnings || 1)
{
/* show info about the game */
if (options.skip_gameinfo || 1)
Not sure what gives? Can anyone help?
Farmboy90:
--- Quote from: electricd on January 13, 2006, 02:08:34 pm ---OK just re-compiled MAME with the changes, but still seeing the "OK" screen. If I set the "skip_gameinfo" to 0 I still see the game info as well. I changed these lines in Mame.c
Original:
if (settingsloaded || options.skip_disclaimer || ui_display_copyright(artwork_get_ui_bitmap()) == 0)
{
/* show info about incorrect behaviour (wrong colors etc.) */
if (options.skip_warnings || ui_display_game_warnings(artwork_get_ui_bitmap()) == 0)
{
/* show info about the game */
if (options.skip_gameinfo || ui_display_game_info(artwork_get_ui_bitmap()) == 0)
Changed:
if (settingsloaded || options.skip_disclaimer || 1)
{
/* show info about incorrect behaviour (wrong colors etc.) */
if (options.skip_warnings || 1)
{
/* show info about the game */
if (options.skip_gameinfo || 1)
Not sure what gives? Can anyone help?
--- End quote ---
Hummm, you sure you are using the newly compiled version? :)
I would just open usrintrf.c and and modify the methods themselves.
Use MikeQ's method, that will do the trick:
In these functions just do a "return 0" after the local variable declarations.
int ui_display_copyright(mame_bitmap *bitmap)
int ui_display_game_warnings(mame_bitmap *bitmap)
int ui_display_game_info(mame_bitmap *bitmap)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version