Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: How to disable MAME_VALIDITYCHECKS macro in 87u2?  (Read 1027 times)

0 Members and 1 Guest are viewing this topic.

creatine28

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 481
  • Last login:July 26, 2012, 03:41:48 pm
  • Which way to the Arcade?
How to disable MAME_VALIDITYCHECKS macro in 87u2?
« 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!

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re:How to disable MAME_VALIDITYCHECKS macro in 87u2?
« Reply #1 on: October 12, 2004, 04:52:43 am »
AFAIK there is no ini setting - you have to compile your own build to remove it...is that what you're doing?

creatine28

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 481
  • Last login:July 26, 2012, 03:41:48 pm
  • Which way to the Arcade?
Re:How to disable MAME_VALIDITYCHECKS macro in 87u2?
« Reply #2 on: October 12, 2004, 02:06:17 pm »
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.

screaming

  • Sweet! I'mma go make me some popovers!
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2124
  • Last login:August 14, 2019, 03:15:34 pm
  • Registered lUser
    • shift eight (*) generation
Re:How to disable MAME_VALIDITYCHECKS macro in 87u2?
« Reply #3 on: October 12, 2004, 02:37:12 pm »
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

creatine28

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 481
  • Last login:July 26, 2012, 03:41:48 pm
  • Which way to the Arcade?
Re:How to disable MAME_VALIDITYCHECKS macro in 87u2?
« Reply #4 on: October 12, 2004, 02:48:18 pm »
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 ?
« Last Edit: October 12, 2004, 02:51:16 pm by creatine28 »

screaming

  • Sweet! I'mma go make me some popovers!
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2124
  • Last login:August 14, 2019, 03:15:34 pm
  • Registered lUser
    • shift eight (*) generation
Re:How to disable MAME_VALIDITYCHECKS macro in 87u2?
« Reply #5 on: October 12, 2004, 03:11:35 pm »
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

creatine28

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 481
  • Last login:July 26, 2012, 03:41:48 pm
  • Which way to the Arcade?
Re:How to disable MAME_VALIDITYCHECKS macro in 87u2?
« Reply #6 on: October 12, 2004, 03:49:06 pm »
Oh! That's all?   Guess I was complicating things by thinking too much! hahahaha


Thanks for the help!


Steve