mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-10 13:48:40 +00:00
TEMPORARY HACK FOR NBA TESTS
This will be removed before this PR is marked as ready, and is only here to make sure the other NBA games (and perhaps DOA3) work if some missing init behavior is handled.
This commit is contained in:
@@ -54,6 +54,9 @@ void MemoryManager::SetupMemoryRegions(u64 flexible_size, bool use_extended_mem1
|
||||
|
||||
LOG_INFO(Kernel_Vmm, "Configured memory regions: flexible size = {:#x}, direct size = {:#x}",
|
||||
total_flexible_size, total_direct_size);
|
||||
// TEMPORARY HACK FOR TESTING, REMOVE BEFORE READYING PR
|
||||
s64 addrOut = 0;
|
||||
::Libraries::Kernel::sceKernelAllocateDirectMemory(0, ::Libraries::Kernel::sceKernelGetDirectMemorySize(), 0x400000, 0x40000, 0, &addrOut);
|
||||
}
|
||||
|
||||
bool MemoryManager::TryWriteBacking(void* address, const void* data, u32 num_bytes) {
|
||||
|
||||
Reference in New Issue
Block a user