core, fix loading save state (svp, mapper)

This commit is contained in:
kub 2022-01-20 18:26:39 +00:00
parent a2018ca1be
commit 464b4c171b

View file

@ -541,7 +541,7 @@ static int state_load(void *file)
break;
#endif
default:
if (len|chunk == 0)
if (!len && !chunk)
goto readend;
if (carthw_chunks != NULL)
{