From 8822698eaf64db1bd4fd671d806575ecf8f16450 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sat, 30 Sep 2023 21:49:30 +1000 Subject: [PATCH] Bus: Fix running multiple DuckStation instances --- src/core/bus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/bus.cpp b/src/core/bus.cpp index 6568c0055..c81b8cb1c 100644 --- a/src/core/bus.cpp +++ b/src/core/bus.cpp @@ -154,7 +154,7 @@ static void SetCodePageFastmemProtection(u32 page_index, bool writable); bool Bus::AllocateMemory() { - s_ram_handle = MemMap::CreateSharedMemory("duckstation_ram", RAM_8MB_SIZE); + s_ram_handle = MemMap::CreateSharedMemory(MemMap::GetFileMappingName("duckstation_ram").c_str(), RAM_8MB_SIZE); if (!s_ram_handle) { Host::ReportErrorAsync("Error", "Failed to allocate memory");