mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-23 10:35:03 +00:00
Specify type
auto has failed us once again.
This commit is contained in:
parent
607bd59a9c
commit
71192289e2
@ -322,7 +322,7 @@ s32 MemoryManager::MapMemory(void** out_addr, VAddr virtual_addr, u64 size, Memo
|
|||||||
|
|
||||||
// Validate the requested physical address range
|
// Validate the requested physical address range
|
||||||
if (phys_addr != -1) {
|
if (phys_addr != -1) {
|
||||||
auto validated_size = 0;
|
u64 validated_size = 0;
|
||||||
do {
|
do {
|
||||||
auto dmem_area = FindDmemArea(phys_addr + validated_size)->second;
|
auto dmem_area = FindDmemArea(phys_addr + validated_size)->second;
|
||||||
// If any requested dmem area is not allocated, return an error.
|
// If any requested dmem area is not allocated, return an error.
|
||||||
|
Loading…
Reference in New Issue
Block a user