From 768c60f779dc1467b11e4c5c9306fcdf1d749a37 Mon Sep 17 00:00:00 2001 From: "BADIM-PC\\Vadim" Date: Sun, 19 Nov 2017 18:46:07 +0300 Subject: [PATCH] no message --- src/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/console.c b/src/console.c index 0bdcbd2..a366925 100644 --- a/src/console.c +++ b/src/console.c @@ -2574,7 +2574,7 @@ static void cmdLoadCart(Console* console, const char* name) if(data) { #if defined(TIC80_PRO) - if(strstr(name, PROJECT_EXT) == name + strlen(name) - strlen(PROJECT_EXT)) + if(hasExt(name, PROJECT_EXT)) { loadProject(console, data, size, &embed.file); }