diff --git a/src/emulator.cpp b/src/emulator.cpp index 68c1e332c..758720325 100644 --- a/src/emulator.cpp +++ b/src/emulator.cpp @@ -107,6 +107,11 @@ void Emulator::Run(const std::filesystem::path& file, const std::vectorGetHostPath("/app0/sce_sys/param.sfo"); + if (!std::filesystem::exists(param_sfo_path) || !Config::getSeparateLogFilesEnabled()) { + Common::Log::Initialize(); + Common::Log::Start(); + } + if (std::filesystem::exists(param_sfo_path)) { auto* param_sfo = Common::Singleton::Instance(); const bool success = param_sfo->Open(param_sfo_path); @@ -117,10 +122,8 @@ void Emulator::Run(const std::filesystem::path& file, const std::vector