New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If the config.lua file is not found then there is #427

Merged
merged 1 commit into from Mar 17, 2017
Jump to file or symbol
Failed to load files and symbols.
+2 −2
Diff settings

Always

Just for now

If the config.lua file is not found then there is

a logging attempt donw but it leads to segfaulting
since some allocations done in Engine_Init_Pre
are needed for it, thus swapping their places here.
  • Loading branch information...
devnexen committed Mar 17, 2017
commit a97b9c79e00ffa3749ae300d0b34bf226c29d759
View
@@ -177,11 +177,11 @@ void Engine_Start(int argc, char **argv)
}
}
Engine_LoadConfig(config_name ? config_name : "config.lua");
// Primary initialization.
Engine_Init_Pre();
Engine_LoadConfig(config_name ? config_name : "config.lua");
// Init generic SDL interfaces.
Engine_InitSDLControls();
Engine_InitSDLVideo();