mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-20 03:24:49 +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:
parent
e3f1e4cf1d
commit
a0e27b0229
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue