Build Your Own Arcade Controls Forum

Software Support => GroovyMAME => Topic started by: pucci on September 14, 2013, 06:01:59 am

Title: feature request
Post by: pucci on September 14, 2013, 06:01:59 am
can you add this two great feature to GroovyMAME?

- Skip Startup Frames
- No Validity Checks

http://forum.arcadecontrols.com/index.php?topic=133643.0 (http://forum.arcadecontrols.com/index.php?topic=133643.0)
Title: Re: feature request
Post by: Calamity on September 21, 2013, 01:10:11 pm
Hi pucci,

Thanks for posting about this feature. However, I'd rather not adding patches that modify the official drivers when possible.
Title: Re: feature request
Post by: pucci on September 21, 2013, 01:53:15 pm
i dont' think that this patch touch driver
Title: Re: feature request
Post by: yotsuya on September 21, 2013, 01:57:19 pm
Sure it does. That's why you have to roll your own if you want it.
Title: Re: feature request
Post by: pucci on September 22, 2013, 06:11:07 am
Sure it does. That's why you have to roll your own if you want it.

I do not understand why you answer me so rude, why do you say that the patches go to modify the drivers?

skipStartUpFrames.txt modify video.c

Code: [Select]
--- old/emu/video.c 2013-01-11 07:32:48.000000000 -0800
+++ src/emu/video.c 2013-07-28 22:58:13.000000000 -0700
@@ -224,6 +224,20 @@
  // only render sound and video if we're in the running phase
  int phase = machine().phase();
  bool skipped_it = m_skipping_this_frame;
+ static int Frames=0;
+ int skip_startup_frames = 999;
+ if (skip_startup_frames)
+ {
+     Frames++;
+     if (skip_startup_frames)
+       {
+         if (Frames<=skip_startup_frames)
+           skipped_it = true;
+
+         if (Frames>skip_startup_frames+2)
+           skip_startup_frames=0;
+       }
+ }
  if (phase == MACHINE_PHASE_RUNNING && (!machine().paused() || machine().options().update_in_pause()))
  {
  bool anything_changed = finish_screen_updates();

validityChecks.txt modify mame.c

Code: [Select]
--- old/emu/mame.c 2013-07-28 21:23:24.000000000 -0700
+++ src/emu/mame.c 2013-01-11 07:32:48.000000000 -0800
@@ -171,8 +171,8 @@
  // otherwise, perform validity checks before anything else
  if (system != NULL)
  {
- validity_checker valid(options);
- valid.check_shared_source(*system);
+// validity_checker valid(options);
+// valid.check_shared_source(*system);
  }
 
  // create the machine configuration