mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Core: Init memory on multiple threads.
Also init volatile at the same time for consistency.
This commit is contained in:
1 parent
6ee944a0a6
commit
4f96169357
6 files changed
+18
-12
No files matched your search
@@ -391,15 +391,6 @@ void Shutdown() {
|
||||
DEBUG_LOG(MEMMAP, "Memory system shut down.");
|
||||
}
|
||||
|
||||
void Clear() {
|
||||
if (m_pPhysicalRAM)
|
||||
memset(GetPointerUnchecked(PSP_GetKernelMemoryBase()), 0, g_MemorySize);
|
||||
if (m_pPhysicalScratchPad)
|
||||
memset(m_pPhysicalScratchPad, 0, SCRATCHPAD_SIZE);
|
||||
if (m_pPhysicalVRAM1)
|
||||
memset(m_pPhysicalVRAM1, 0, VRAM_SIZE);
|
||||
}
|
||||
|
||||
bool IsActive() {
|
||||
return base != nullptr;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user