mirror of
https://github.com/PabloMK7/citra
synced 2024-11-15 13:18:24 +00:00
kernel/vm_manager: Use the VAddr type alias in CarveVMA()
These two variables correspond to address ranges.
This commit is contained in:
parent
47025552c7
commit
bb88c3b7b5
1 changed files with 2 additions and 2 deletions
|
@ -291,8 +291,8 @@ ResultVal<VMManager::VMAIter> VMManager::CarveVMA(VAddr base, u32 size) {
|
|||
return ERR_INVALID_ADDRESS_STATE;
|
||||
}
|
||||
|
||||
u32 start_in_vma = base - vma.base;
|
||||
u32 end_in_vma = start_in_vma + size;
|
||||
VAddr start_in_vma = base - vma.base;
|
||||
VAddr end_in_vma = start_in_vma + size;
|
||||
|
||||
if (end_in_vma > vma.size) {
|
||||
// Requested allocation doesn't fit inside VMA
|
||||
|
|
Loading…
Reference in a new issue