summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-02 18:15:45 +0200
committerLioncash <mathew1800@gmail.com>2018-08-02 18:15:50 +0200
commitce5ad45278e75d215b2257cde161895915670b2a (patch)
treedf37c87cecf33a6090c0c20991db27541d83f708
parentMerge pull request #896 from lioncash/audio-out (diff)
downloadyuzu-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
-rw-r--r--src/core/hle/kernel/vm_manager.cpp4
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