Doh!
This commit is contained in:
parent
d2cae8aef0
commit
0dfb58362e
|
@ -680,7 +680,7 @@ int main(int argc,char *argv[])
|
|||
free(StateToLoad);
|
||||
StateToLoad = NULL;
|
||||
}
|
||||
if(LuaToLoad);
|
||||
if(GameInfo && LuaToLoad)
|
||||
{
|
||||
FCEU_LoadLuaCode(LuaToLoad);
|
||||
free(LuaToLoad);
|
||||
|
|
Loading…
Reference in New Issue