Specify type

auto has failed us once again.
This commit is contained in:
Stephen Miller 2025-06-21 14:06:58 -05:00
parent 607bd59a9c
commit 71192289e2

View File

@ -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.