mirror of https://github.com/mgba-emu/mgba.git
Perf: Fix crash when loading config
This commit is contained in:
parent
733232be5a
commit
6a05ecf273
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue