From c220b19135607317bfecc8c9b057e822c7984823 Mon Sep 17 00:00:00 2001 From: TheLastRar Date: Thu, 17 Apr 2025 19:43:15 +0100 Subject: [PATCH] Common: Allow shared reading of log files --- common/Console.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/Console.cpp b/common/Console.cpp index 8f8aa084bc..2415181bf4 100644 --- a/common/Console.cpp +++ b/common/Console.cpp @@ -342,7 +342,7 @@ bool Log::SetFileOutputLevel(LOGLEVEL level, std::string path) if (!s_file_handle || s_file_path != path) { s_file_handle.reset(); - s_file_handle = FileSystem::OpenManagedCFile(path.c_str(), "wb"); + s_file_handle = FileSystem::OpenManagedSharedCFile(path.c_str(), "wb", FileSystem::FileShareMode::DenyWrite); if (s_file_handle) { s_file_path = std::move(path);