Bus: Fix running multiple DuckStation instances

This commit is contained in:
Stenzek 2023-09-30 21:49:30 +10:00
parent 8f267c87c0
commit 8822698eaf
1 changed files with 1 additions and 1 deletions

View File

@ -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");