diff options
author | Lioncash <mathew1800@gmail.com> | 2018-08-02 18:15:45 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-08-02 18:15:50 +0200 |
commit | ce5ad45278e75d215b2257cde161895915670b2a (patch) | |
tree | df37c87cecf33a6090c0c20991db27541d83f708 /src/core/hle | |
parent | Merge pull request #896 from lioncash/audio-out (diff) | |
download | yuzu-ce5ad45278e75d215b2257cde161895915670b2a.tar yuzu-ce5ad45278e75d215b2257cde161895915670b2a.tar.gz yuzu-ce5ad45278e75d215b2257cde161895915670b2a.tar.bz2 yuzu-ce5ad45278e75d215b2257cde161895915670b2a.tar.lz yuzu-ce5ad45278e75d215b2257cde161895915670b2a.tar.xz yuzu-ce5ad45278e75d215b2257cde161895915670b2a.tar.zst yuzu-ce5ad45278e75d215b2257cde161895915670b2a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/vm_manager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/vm_manager.cpp b/src/core/hle/kernel/vm_manager.cpp index 9d26fd781..d8b389b65 100644 --- a/src/core/hle/kernel/vm_manager.cpp +++ b/src/core/hle/kernel/vm_manager.cpp @@ -264,8 +264,8 @@ ResultVal<VMManager::VMAIter> VMManager::CarveVMA(VAddr base, u64 size) { return ERR_INVALID_ADDRESS_STATE; } - u64 start_in_vma = base - vma.base; - u64 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 |