summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorAmeer J <52414509+ameerj@users.noreply.github.com>2021-08-25 22:50:03 +0200
committerGitHub <noreply@github.com>2021-08-25 22:50:03 +0200
commitde71a4d70df218e29315e851c031419c3e691743 (patch)
treea06c7543fab3963ea1ac2191f7dad2ad8cfa5ca1 /src/video_core
parentMerge pull request #6917 from ameerj/log-init-fix (diff)
parentGPU_MemoryManger: Fix GetSubmappedRange. (diff)
downloadyuzu-de71a4d70df218e29315e851c031419c3e691743.tar
yuzu-de71a4d70df218e29315e851c031419c3e691743.tar.gz
yuzu-de71a4d70df218e29315e851c031419c3e691743.tar.bz2
yuzu-de71a4d70df218e29315e851c031419c3e691743.tar.lz
yuzu-de71a4d70df218e29315e851c031419c3e691743.tar.xz
yuzu-de71a4d70df218e29315e851c031419c3e691743.tar.zst
yuzu-de71a4d70df218e29315e851c031419c3e691743.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/memory_manager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/memory_manager.cpp b/src/video_core/memory_manager.cpp
index 882eff880..c60ed6453 100644
--- a/src/video_core/memory_manager.cpp
+++ b/src/video_core/memory_manager.cpp
@@ -463,6 +463,7 @@ std::vector<std::pair<GPUVAddr, std::size_t>> MemoryManager::GetSubmappedRange(
++page_index;
page_offset = 0;
remaining_size -= num_bytes;
+ old_page_addr = page_addr;
}
split();
return result;