From be493435cb33f80de03989a39480fa8bff2e806b 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 48af9b388..282bb34ea 100644 --- a/common/ipc_mutex.cpp +++ b/common/ipc_mutex.cpp @@ -47,8 +47,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,