diff options
| author | bunnei <bunneidev@gmail.com> | 2016-10-03 20:21:55 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-03 20:21:55 -0400 |
| commit | 49b10339bf87ce69dafee78eb3957fb6d51424d8 (patch) | |
| tree | f9255901fc887d6b252028131d3d0d7ce285d469 /src/core/memory.cpp | |
| parent | 4b14e17b18e20f7f8077f0c7efc0e3a44ca8ca2a (diff) | |
| parent | 58ae94af4c5c7777cab40ebb4f2bc517dd0f9f2c (diff) | |
Merge pull request #2103 from wwylele/gpu-reg-cleanup
GPU: DisplayTransfer & MemoryFill cleanup and param check
Diffstat (limited to 'src/core/memory.cpp')
| -rw-r--r-- | src/core/memory.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/memory.cpp b/src/core/memory.cpp index df029d655..64c388374 100644 --- a/src/core/memory.cpp +++ b/src/core/memory.cpp @@ -251,6 +251,9 @@ bool IsValidVirtualAddress(const VAddr vaddr) { if (page_pointer) return true; + if (current_page_table->attributes[vaddr >> PAGE_BITS] == PageType::RasterizerCachedMemory) + return true; + if (current_page_table->attributes[vaddr >> PAGE_BITS] != PageType::Special) return false; |
