diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-22 04:57:04 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-02-03 08:58:24 +0100 |
commit | e01a9de35faddaea0cb99ed71b582d86a73cf3bd (patch) | |
tree | e842570724515a30bde48e20ad82daa73342ae7d | |
parent | Merge pull request #2074 from ReinUsesLisp/shader-ir-unify-offset (diff) | |
download | yuzu-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.cpp | 3 |
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 {}; } |