From: mrdudz Date: Thu, 20 Nov 2014 13:49:35 +0000 (+0100) Subject: changed return code to -99 X-Git-Tag: V2.15~31^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=refs%2Fpull%2F139%2Fhead;p=cc65 changed return code to -99 --- diff --git a/src/sim65/main.c b/src/sim65/main.c index 10dbe3f91..22f6831e4 100644 --- a/src/sim65/main.c +++ b/src/sim65/main.c @@ -238,7 +238,8 @@ int main (int argc, char* argv[]) ExecuteInsn (); if (MaxCycles && (GetCycles () >= MaxCycles)) { Error ("Maximum number of cycles reached."); - exit (EXIT_FAILURE); + exit (-99); /* do not ues EXIT_FAILURE to avoid conflicts with the + same value being used in a test program */ } }