live cart reloading fixes #374

This commit is contained in:
BADIM-PC\Vadim 2017-11-23 23:19:53 +03:00
parent 715137a05a
commit cc89a2ab7a
1 changed files with 1 additions and 1 deletions

View File

@ -761,7 +761,7 @@ static void updateProject(Console* console)
{
tic_mem* tic = console->tic;
if(strlen(console->romName))
if(strlen(console->romName) && hasProjectExt(console->romName))
{
s32 size = 0;
void* data = fsLoadFile(console->fs, console->romName, &size);