From 6241d941083b0845e39e8bdc79df7893176aadd3 Mon Sep 17 00:00:00 2001 From: "BADIM-PC\\Vadim" Date: Thu, 23 Nov 2017 17:13:58 +0300 Subject: [PATCH] no message --- src/console.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/console.c b/src/console.c index 05bd661..9e872df 100644 --- a/src/console.c +++ b/src/console.c @@ -2629,18 +2629,19 @@ static void cmdLoadCart(Console* console, const char* name) if(hasProjectExt(name)) { loadProject(console, name, data, size, &embed.file); + embed.cmd = true; } else #endif { loadCart(console->tic, &embed.file, data, size, true); + embed.cmd = false; } strcpy(console->romName, fsFilename(name)); embed.yes = true; - embed.cmd = true; - + SDL_free(data); } }