diff --git a/platform/apple2enh/lib/error.c b/platform/apple2enh/lib/error.c index 2c5d5572e..b030d5877 100644 --- a/platform/apple2enh/lib/error.c +++ b/platform/apple2enh/lib/error.c @@ -42,8 +42,10 @@ void error_exit(void) { +#if LOG_CONF_ENABLED log_message("Press any key to continue ...", ""); ctk_arch_getkey(); +#endif /* LOG_CONF_ENABLED */ exit(EXIT_FAILURE); } /*-----------------------------------------------------------------------------------*/ diff --git a/platform/atarixl/lib/error.c b/platform/atarixl/lib/error.c index 2c5d5572e..b030d5877 100644 --- a/platform/atarixl/lib/error.c +++ b/platform/atarixl/lib/error.c @@ -42,8 +42,10 @@ void error_exit(void) { +#if LOG_CONF_ENABLED log_message("Press any key to continue ...", ""); ctk_arch_getkey(); +#endif /* LOG_CONF_ENABLED */ exit(EXIT_FAILURE); } /*-----------------------------------------------------------------------------------*/