From 16b15ba1fd9187a21ad9bd6452633bf16aa3d732 Mon Sep 17 00:00:00 2001 From: "BADIM-PC\\Vadim" Date: Thu, 23 Nov 2017 17:25:33 +0300 Subject: [PATCH] no message --- src/console.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/console.c b/src/console.c index 9e872df..1f33ab1 100644 --- a/src/console.c +++ b/src/console.c @@ -53,7 +53,6 @@ static struct char prefix[32]; bool yes; bool fast; - bool cmd; bool menu; tic_cartridge file; } embed = @@ -61,7 +60,6 @@ static struct .prefix = "C8B39163816B47209E721136D37B8031", .yes = false, .fast = false, - .cmd = false, }; static const char DefaultLuaTicPath[] = TIC_LOCAL "default.tic"; @@ -2581,7 +2579,7 @@ static void tick(Console* console) { if(console->tickCounter >= (u32)(embed.fast ? 1 : TIC_FRAMERATE)) { - if(!embed.fast && !embed.cmd) + if(!embed.fast) console->showGameMenu = true; memcpy(&console->tic->cart, &embed.file, sizeof(tic_cartridge)); @@ -2629,14 +2627,11 @@ static void cmdLoadCart(Console* console, const char* name) if(hasProjectExt(name)) { loadProject(console, name, data, size, &embed.file); - embed.cmd = true; + embed.fast = true; } else #endif - { - loadCart(console->tic, &embed.file, data, size, true); - embed.cmd = false; - } + loadCart(console->tic, &embed.file, data, size, true); strcpy(console->romName, fsFilename(name));