Warning on startup "parameter or file not processed: ." #527

This commit is contained in:
BADIM-PC\Vadim 2018-02-16 14:01:25 +03:00
parent c419c5297d
commit a481dac5f1
1 changed files with 1 additions and 1 deletions

View File

@ -2973,7 +2973,7 @@ void initConsole(Console* console, tic_mem* tic, FileSystem* fs, Config* config,
// trying to load cart
for (s32 i = 1; i < argc; i++)
{
if(cmdLoadCart(console, argv[i]))
if(strcmp(argv[i], ".") == 0 || cmdLoadCart(console, argv[i]))
{
argp |= 1 << i;
break;