diff --git a/src/libretro/StellaLIBRETRO.cxx b/src/libretro/StellaLIBRETRO.cxx index 6e4f1c839..ffe5dfa09 100644 --- a/src/libretro/StellaLIBRETRO.cxx +++ b/src/libretro/StellaLIBRETRO.cxx @@ -62,30 +62,14 @@ bool StellaLIBRETRO::create(bool logging) FilesystemNode rom("rom"); - // auto-detect properties - destroy(); - - myOSystem = make_unique(); - myOSystem->create(); - - myOSystem->settings().setValue("format", console_format); - - if(myOSystem->createConsole(rom) != EmptyString) - return false; - - - // auto-detect settings - console_timing = myOSystem->console().timing(); - phosphor_default = myOSystem->frameBuffer().tiaSurface().phosphorEnabled(); - - // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // build play system destroy(); myOSystem = make_unique(); myOSystem->create(); + // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + Settings& settings = myOSystem->settings(); if(logging) @@ -133,6 +117,9 @@ bool StellaLIBRETRO::create(bool logging) // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + console_timing = myOSystem->console().timing(); + phosphor_default = myOSystem->frameBuffer().tiaSurface().phosphorEnabled(); + if(video_phosphor == "never") setVideoPhosphor(1, video_phosphor_blend); // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -