summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-01-22 04:57:04 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-02-03 08:58:24 +0100
commite01a9de35faddaea0cb99ed71b582d86a73cf3bd (patch)
treee842570724515a30bde48e20ad82daa73342ae7d
parentMerge pull request #2074 from ReinUsesLisp/shader-ir-unify-offset (diff)
downloadyuzu-e01a9de35faddaea0cb99ed71b582d86a73cf3bd.tar
yuzu-e01a9de35faddaea0cb99ed71b582d86a73cf3bd.tar.gz
yuzu-e01a9de35faddaea0cb99ed71b582d86a73cf3bd.tar.bz2
yuzu-e01a9de35faddaea0cb99ed71b582d86a73cf3bd.tar.lz
yuzu-e01a9de35faddaea0cb99ed71b582d86a73cf3bd.tar.xz
yuzu-e01a9de35faddaea0cb99ed71b582d86a73cf3bd.tar.zst
yuzu-e01a9de35faddaea0cb99ed71b582d86a73cf3bd.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/memory_manager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/memory_manager.cpp b/src/video_core/memory_manager.cpp
index 47247f097..54abe5298 100644
--- a/src/video_core/memory_manager.cpp
+++ b/src/video_core/memory_manager.cpp
@@ -154,7 +154,8 @@ std::optional<VAddr> MemoryManager::GpuToCpuAddress(GPUVAddr gpu_addr) {
const VAddr base_addr{PageSlot(gpu_addr)};
if (base_addr == static_cast<u64>(PageStatus::Allocated) ||
- base_addr == static_cast<u64>(PageStatus::Unmapped)) {
+ base_addr == static_cast<u64>(PageStatus::Unmapped) ||
+ base_addr == static_cast<u64>(PageStatus::Reserved)) {
return {};
}