all repos — mgba @ 12a5b6c0bd52c3a827a8c0a3186e3dc791fa175c

mGBA Game Boy Advance Emulator

GUI: Fix crashing when attempting to read config (fixes #505)
Vicki Pfau vi@endrift.com
Thu, 26 Jan 2017 21:15:55 -0800
commit

12a5b6c0bd52c3a827a8c0a3186e3dc791fa175c

parent

91fd2c6b4768fbeb58c74d2f119e7d55685a9800

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/feature/gui/gui-runner.csrc/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) {