summaryrefslogtreecommitdiff
path: root/src/video_core/dma_pusher.h
diff options
context:
space:
mode:
authorGravatar bunnei2020-10-29 21:13:48 -0700
committerGravatar bunnei2020-11-01 01:52:38 -0700
commitc6e1c46ac70bf31b54f756f9611b1cf086b63fb0 (patch)
treeedf5e2a33941aba44f11c5ed42b1d658cc6bf20e /src/video_core/dma_pusher.h
parentvideo_core: dma_pusher: Add support for prefetched command lists. (diff)
downloadyuzu-c6e1c46ac70bf31b54f756f9611b1cf086b63fb0.tar.gz
yuzu-c6e1c46ac70bf31b54f756f9611b1cf086b63fb0.tar.xz
yuzu-c6e1c46ac70bf31b54f756f9611b1cf086b63fb0.zip
video_core: dma_pusher: Add support for integrity checks.
- Log corrupted command lists, rather than crash.
Diffstat (limited to 'src/video_core/dma_pusher.h')
-rw-r--r--src/video_core/dma_pusher.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/dma_pusher.h b/src/video_core/dma_pusher.h
index 99b30ca0d..8496ba2da 100644
--- a/src/video_core/dma_pusher.h
+++ b/src/video_core/dma_pusher.h
@@ -91,7 +91,10 @@ struct CommandList final {
91 explicit CommandList(std::vector<Tegra::CommandHeader>&& prefetch_command_list) 91 explicit CommandList(std::vector<Tegra::CommandHeader>&& prefetch_command_list)
92 : prefetch_command_list{std::move(prefetch_command_list)} {} 92 : prefetch_command_list{std::move(prefetch_command_list)} {}
93 93
94 void RefreshIntegrityChecks(GPU& gpu);
95
94 std::vector<Tegra::CommandListHeader> command_lists; 96 std::vector<Tegra::CommandListHeader> command_lists;
97 std::vector<u64> command_list_hashes;
95 std::vector<Tegra::CommandHeader> prefetch_command_list; 98 std::vector<Tegra::CommandHeader> prefetch_command_list;
96}; 99};
97 100