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:
Stephen Miller 2025-02-04 17:53:46 -06:00
parent e3f1e4cf1d
commit a0e27b0229

View file

@ -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) {