mirror of https://github.com/stella-emu/stella.git
libretro: Fix segfault on startup.
This commit is contained in:
parent
afe0812fcc
commit
606f027dcb
|
@ -45,11 +45,12 @@ bool StellaLIBRETRO::create(bool logging)
|
|||
destroy();
|
||||
|
||||
myOSystem = make_unique<OSystemLIBRETRO>();
|
||||
myOSystem->create();
|
||||
|
||||
Settings::Options options;
|
||||
myOSystem->loadConfig(options);
|
||||
|
||||
myOSystem->create();
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
Settings& settings = myOSystem->settings();
|
||||
|
|
Loading…
Reference in New Issue