Explorar o código

Initialize base address to 0x0

Gareth Higgins %!s(int64=11) %!d(string=hai) anos
pai
achega
25a43cd2ec
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/core/hle/kernel/shared_memory.cpp

+ 1 - 0
src/core/hle/kernel/shared_memory.cpp

@@ -16,6 +16,7 @@ SharedPtr<SharedMemory> SharedMemory::Create(std::string name) {
     SharedPtr<SharedMemory> shared_memory(new SharedMemory);
 
     shared_memory->name = std::move(name);
+    shared_memory->base_address = 0x0;
 
     return shared_memory;
 }