Build Your Own Arcade Controls Forum
Main => Software Forum => Topic started by: creatine28 on October 11, 2004, 07:37:29 pm
-
Can't seem to get the MAME_VALIDITYCHECKS macro to work or actually to not work? My games still take forever to load? Is it something in the ini file I need to change?
Thanks!
-
AFAIK there is no ini setting - you have to compile your own build to remove it...is that what you're doing?
-
Oh, I think I misundestood the whats new file for 87u2?
So, if I was to not want the validity checks to run, I would have to comment out the "MAME_VALIDITYCHECKS macro" in the source? I was thinking that this was something you could specify via command line?
Like "mame.exe -noMame_VALIDITYCHECKS" or something?
Misc updates [Nathan Woods]
src/mame.c:
- Created a MAME_VALIDITYCHECKS macro that when defined, can specify whether validity checks should be run. If undefined, it defaults to running the validity checks. This will facilitate turning off validity checks in MAME derivative projects.
Please DO NOT turn these off if you are making changes to the Mame
source, any changes which fail the validity checks will be rejected.
-
Oh, I think I misundestood the whats new file for 87u2?
Are you compiling from the source? This is an option that can only be turned off before you compile your own version of MAME.
-Steve
-
yes, here's the source per the 87u2 dif
+#ifndef MAME_VALIDITYCHECKS
+#define MAME_VALIDITYCHECKS 1
+#endif /* MAME_VALIDITYCHECKS */
+#if MAME_VALIDITYCHECKS
if (mame_validitychecks())
return 1;
+#endif /* MAME_VALIDITYCHECKS */
Would I just remove the # from the Source above ?
-
yes, here's the source per the 87u2 dif
+#ifndef MAME_VALIDITYCHECKS
+#define MAME_VALIDITYCHECKS 1
+#endif /* MAME_VALIDITYCHECKS */
+#if MAME_VALIDITYCHECKS
if (mame_validitychecks())
return 1;
+#endif /* MAME_VALIDITYCHECKS */
Would I just remove the # from the Source above ?
All you have to do is put
MAME_VALIDITYCHECKS = 0
in the makefile (at the top is fine), then run make.
-Steve
-
Oh! That's all? Guess I was complicating things by thinking too much! hahahaha
Thanks for the help!
Steve