Skip to content

Commit

Permalink
pause for input on error
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown committed Sep 14, 2021
1 parent d86fe66 commit d976b7c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/mame.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@
***************************************************************************/

#define FRAMES_PER_FPS_UPDATE 12
#define printf psp_printf_bbb



Expand Down Expand Up @@ -279,6 +280,7 @@ INLINE void bail_and_print(const char *message)
{
bailing = 1;
printf("%s\n", message);
Confirm_Control();
}
}

Expand Down Expand Up @@ -1046,6 +1048,7 @@ static int decode_graphics(const struct GfxDecodeInfo *gfxdecodeinfo)
{
bailing = 1;
printf("Out of memory decoding gfx\n");
Confirm_Control();
return 1;
}

Expand Down Expand Up @@ -2345,6 +2348,11 @@ int mame_validitychecks(void)
error = 1;
#endif /* MESS */

if (error == 1)
{
Confirm_Control();
}

return error;
}

Expand Down

0 comments on commit d976b7c

Please sign in to comment.