no message

This commit is contained in:
BADIM-PC\Vadim 2017-11-23 17:13:58 +03:00
parent 9ea0842be8
commit 6241d94108
1 changed files with 3 additions and 2 deletions

View File

@ -2629,18 +2629,19 @@ static void cmdLoadCart(Console* console, const char* name)
if(hasProjectExt(name)) if(hasProjectExt(name))
{ {
loadProject(console, name, data, size, &embed.file); loadProject(console, name, data, size, &embed.file);
embed.cmd = true;
} }
else else
#endif #endif
{ {
loadCart(console->tic, &embed.file, data, size, true); loadCart(console->tic, &embed.file, data, size, true);
embed.cmd = false;
} }
strcpy(console->romName, fsFilename(name)); strcpy(console->romName, fsFilename(name));
embed.yes = true; embed.yes = true;
embed.cmd = true;
SDL_free(data); SDL_free(data);
} }
} }