Perf: Fix crash when loading config

This commit is contained in:
Jeffrey Pfau 2016-02-19 00:41:40 -08:00
parent 733232be5a
commit 6a05ecf273
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ int main(int argc, char** argv) {
mCoreConfigLoad(&core->config);
mCoreConfigSetDefaultIntValue(&core->config, "idleOptimization", IDLE_LOOP_REMOVE);
struct mCoreOptions opts;
struct mCoreOptions opts = {};
mCoreConfigMap(&core->config, &opts);
opts.audioSync = false;
opts.videoSync = false;