The NEW Build Your Own Arcade Controls

Main => Software Forum => Topic started by: dabone on February 13, 2005, 12:42:41 pm

Title: Disable game warnings in .92????
Post by: dabone on February 13, 2005, 12:42:41 pm
I found the old thread for disabling the game warnings, but it doesn't work with the newer source.

Anyone know of where I can find the source that changes this?

(Probally no more than 3 or 4 lines of code, I just don't know where to start :) )


Skip_warnings exists in both mame.h and mame.c in the straight source code,
but the option doesn't work from mame.ini or the command line.



Later,
dabone

Title: Re: Disable game warnings in .92????
Post by: Buddabing on February 13, 2005, 01:00:18 pm
I found the old thread for disabling the game warnings, but it doesn't work with the newer source.

Anyone know of where I can find the source that changes this?

(Probally no more than 3 or 4 lines of code, I just don't know where to start :) )


Skip_warnings exists in both mame.h and mame.c in the straight source code,
but the option doesn't work from mame.ini or the command line.



Later,
dabone



Actually only one line will do it. :)

You need to enable the skip_warnings option. To do this, add the following line to your src\windows\config.c file:

        { "skip_warnings", NULL, rc_bool, &options.skip_warnings, "0", 0, 0, NULL, "skip warnings" },

Add it where the other command line options are set up.

Or you can use my BuddaMAME binary which has this option compiled in. Version 0.92 will be out soon.

Title: Re: Disable game warnings in .92????
Post by: Howard_Casto on February 13, 2005, 01:15:16 pm
I find it annoying that the mame devs have finally put the code in but fail to do the final step and add it to the command line parsing function. 
Title: Re: Disable game warnings in .92????
Post by: dabone on February 13, 2005, 02:04:02 pm
Thanks,

worked like a charm.


Later,
dabone
Title: Re: Disable game warnings in .92????
Post by: wpcmame on February 14, 2005, 03:14:19 am
I find it annoying that the mame devs have finally put the code in but fail to do the final step and add it to the command line parsing function.