GUI: Fix crashing when attempting to read config (fixes #505)
Vicki Pfau vi@endrift.com
Thu, 26 Jan 2017 21:15:55 -0800
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
src/feature/gui/gui-runner.c
→
src/feature/gui/gui-runner.c
@@ -283,6 +283,7 @@ runner->core = mCoreFind(path);
if (runner->core) { mLOG(GUI_RUNNER, INFO, "Found core"); runner->core->init(runner->core); + mCoreConfigInit(&runner->core->config, runner->port); mInputMapInit(&runner->core->inputMap, &GBAInputInfo); found = mCoreLoadFile(runner->core, path); if (!found) {