From: izydorst Date: Fri, 2 Jan 2004 23:28:00 +0000 (+0000) Subject: added ExitTurbo before showing DlgBox - this allows for safe recover after ActionRepl... X-Git-Tag: V2.12.0~954 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e94afbc0dd3a2ed13aeb40cfeafdfdfa0d0b324c;p=cc65 added ExitTurbo before showing DlgBox - this allows for safe recover after ActionReplay freeze git-svn-id: svn://svn.cc65.org/cc65/trunk@2865 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/geos/common/_afailed.c b/libsrc/geos/common/_afailed.c index 1d42d5ba6..10da48d0e 100644 --- a/libsrc/geos/common/_afailed.c +++ b/libsrc/geos/common/_afailed.c @@ -11,6 +11,8 @@ void _afailed (char* file, unsigned line) { + ExitTurbo(); + drawWindow.top = 0; drawWindow.left = 0; drawWindow.bot = 15; diff --git a/libsrc/geos/common/_poserror.c b/libsrc/geos/common/_poserror.c index d81826e60..0dc6f99d8 100644 --- a/libsrc/geos/common/_poserror.c +++ b/libsrc/geos/common/_poserror.c @@ -13,6 +13,7 @@ void __fastcall__ _poserror (const char* msg) { const char *errmsg = _stroserror(_oserror); + ExitTurbo(); if (msg && *msg) { DlgBoxOk(msg, errmsg); } else { diff --git a/libsrc/geos/common/abort.c b/libsrc/geos/common/abort.c index fb52f88e1..3db62f03b 100644 --- a/libsrc/geos/common/abort.c +++ b/libsrc/geos/common/abort.c @@ -11,6 +11,7 @@ void abort (void) { + ExitTurbo(); DlgBoxOk(CBOLDON "ABNORMAL PROGRAM", "TERMINATION." CPLAINTEXT); exit(3); } diff --git a/libsrc/geos/common/perror.c b/libsrc/geos/common/perror.c index d3ec6739c..6b3ed3c64 100644 --- a/libsrc/geos/common/perror.c +++ b/libsrc/geos/common/perror.c @@ -13,6 +13,7 @@ void __fastcall__ perror(const char* msg) { const char *errmsg = strerror(errno); + ExitTurbo(); if (msg && *msg) { DlgBoxOk(msg, errmsg); } else {