fix sdl version hanging when rom not found

This commit is contained in:
tmaul 2019-11-19 21:18:09 +00:00
parent 9c6b762bb9
commit 50ff4657d7
1 changed files with 5 additions and 1 deletions

View File

@ -68,7 +68,11 @@ int main(int argc, char *argv[])
ConfigAppLoad();
ConfigAppSave();
DrvInit(i, 0);
if (DrvInit(i, 0) !=0)
{
printf("driver init failed\n");
return 1;
}
RunMessageLoop();