no message
This commit is contained in:
parent
6241d94108
commit
16b15ba1fd
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in New Issue