diff --git a/pcsx2/IopMem.cpp b/pcsx2/IopMem.cpp index 49455dea0b..3f8da49ffa 100644 --- a/pcsx2/IopMem.cpp +++ b/pcsx2/IopMem.cpp @@ -39,7 +39,7 @@ void iopMemAlloc() psxMemRLUT = psxMemWLUT + 0x2000; //(uptr*)_aligned_malloc(0x10000 * sizeof(uptr),16); - iopMem = reinterpret_cast(SysMemory::GetCodePtr(HostMemoryMap::IOPmemOffset)); + iopMem = reinterpret_cast(SysMemory::GetIOPMem()); } void iopMemRelease() diff --git a/pcsx2/VUmicroMem.cpp b/pcsx2/VUmicroMem.cpp index 2aea8bc7fe..c0df0fd144 100644 --- a/pcsx2/VUmicroMem.cpp +++ b/pcsx2/VUmicroMem.cpp @@ -23,7 +23,7 @@ alignas(16) VURegs vuRegs[2]; void vuMemAllocate() { - u8* curpos = SysMemory::GetDataPtr(HostMemoryMap::VUmemOffset); + u8* curpos = SysMemory::GetVUMem(); VU0.Micro = curpos; curpos += VU0_PROGSIZE; VU0.Mem = curpos; curpos += VU0_MEMSIZE; VU1.Micro = curpos; curpos += VU1_PROGSIZE;