From 8d9251657d27f2d1e8cd0d5babbe82c04b70423d Mon Sep 17 00:00:00 2001 From: "BADIM-PC\\Vadim" Date: Tue, 6 Feb 2018 19:00:34 +0300 Subject: [PATCH] CLI save injected code #517 --- src/console.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/console.c b/src/console.c index acc2de8..1b33b84 100644 --- a/src/console.c +++ b/src/console.c @@ -2993,6 +2993,9 @@ void initConsole(Console* console, tic_mem* tic, FileSystem* fs, Config* config, else if(strcmp(arg, "-skip") == 0) console->skipStart = true; + else if(strcmp(arg, "-save") == 0) + saveCart(console); + else continue; argp |= 0b1 << i;