From e3e1340156cd9b0643f9770f7c9f9a7b757bc782 Mon Sep 17 00:00:00 2001 From: Knightly Date: Tue, 23 Dec 2025 18:46:17 -1000 Subject: [PATCH] Fix Shared Memory in Windows - Windows does not allow paths as mutexes - Remove the config directory from the mutex name - This fix has the potential for collision of concerns on Windows when running multiple instances, but it is an unlikely scenario given port requirements --- common/ipc_mutex.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/ipc_mutex.cpp b/common/ipc_mutex.cpp index ebd13a693..08ee1d5aa 100644 --- a/common/ipc_mutex.cpp +++ b/common/ipc_mutex.cpp @@ -44,8 +44,7 @@ namespace EQ { IPCMutex::IPCMutex(const std::string& name) : locked_(false) { imp_ = new Implementation; #ifdef _WINDOWS - auto Config = EQEmuConfig::get(); - std::string final_name = fmt::format("{}/EQEmuMutex_{}", Config->SharedMemDir, name); + std::string final_name = fmt::format("EQEmuMutex_{}", name); imp_->mut_ = CreateMutex(nullptr, FALSE,