From d976b7c3c8a524554950119f7fd30b0605506ea0 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 13 Sep 2021 21:12:13 +0200 Subject: [PATCH] pause for input on error --- src/mame.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/mame.c b/src/mame.c index 7cbf44d..0ba7afc 100644 --- a/src/mame.c +++ b/src/mame.c @@ -154,6 +154,7 @@ ***************************************************************************/ #define FRAMES_PER_FPS_UPDATE 12 +#define printf psp_printf_bbb @@ -279,6 +280,7 @@ INLINE void bail_and_print(const char *message) { bailing = 1; printf("%s\n", message); + Confirm_Control(); } } @@ -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; } @@ -2345,6 +2348,11 @@ int mame_validitychecks(void) error = 1; #endif /* MESS */ + if (error == 1) + { + Confirm_Control(); + } + return error; }