Previous 15994 Revisions Next

r2558 Tuesday 6th May, 2008 at 12:53:23 UTC by Nathan Woods
[Messtest] Fixed breakage
[src/mess/tools/messtest]testmess.c

src/mess/tools/messtest/testmess.c
r2557r2558
137137static int format_index;
138138static UINT64 runtime_hash;
139139static void *wavptr;
140static int seen_first_update;
141140static render_target *target;
142141
143142/* command list */
r2557r2558
293292   screenshot_num = 0;
294293   runtime_hash = 0;
295294   had_failure = FALSE;
296   seen_first_update = FALSE;
297295   videoram = NULL;
298296   videoram_size = 0;
299297
r2557r2558
988986
989987   render_target_get_primitives(target);
990988
991   /* is this the first update?  if so, eat it */
992   if (!seen_first_update)
989   /* don't do anything if we are initializing! */
990   switch(mame_get_phase(machine))
993991   {
994      seen_first_update = TRUE;
995      return;
992      case MAME_PHASE_PREINIT:
993      case MAME_PHASE_INIT:
994      case MAME_PHASE_RESET:
995         return;
996996   }
997997
998998   /* if we have already aborted or completed, our work is done */

Previous 15994 Revisions Next


© 1998-2018 The MESS Team