mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 13:55:38 +00:00
Bus: Fix running multiple DuckStation instances
This commit is contained in:
parent
8f267c87c0
commit
8822698eaf
|
@ -154,7 +154,7 @@ static void SetCodePageFastmemProtection(u32 page_index, bool writable);
|
||||||
|
|
||||||
bool Bus::AllocateMemory()
|
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)
|
if (!s_ram_handle)
|
||||||
{
|
{
|
||||||
Host::ReportErrorAsync("Error", "Failed to allocate memory");
|
Host::ReportErrorAsync("Error", "Failed to allocate memory");
|
||||||
|
|
Loading…
Reference in a new issue