summaryrefslogtreecommitdiffstats
path: root/src/video_core/command_processor.cpp
diff options
context:
space:
mode:
authorMarkus Wick <markus@selfnet.de>2018-11-06 21:26:27 +0100
committerMarkus Wick <markus@selfnet.de>2018-11-17 14:28:54 +0100
commit97f5c4ffd3950994b852b287e1d24f4766e53bea (patch)
treed2e2bc62afd33c68f5a601705782b26fbbb4f35f /src/video_core/command_processor.cpp
parentMerge pull request #1678 from FearlessTobi/amiibo-hotkeys (diff)
downloadyuzu-97f5c4ffd3950994b852b287e1d24f4766e53bea.tar
yuzu-97f5c4ffd3950994b852b287e1d24f4766e53bea.tar.gz
yuzu-97f5c4ffd3950994b852b287e1d24f4766e53bea.tar.bz2
yuzu-97f5c4ffd3950994b852b287e1d24f4766e53bea.tar.lz
yuzu-97f5c4ffd3950994b852b287e1d24f4766e53bea.tar.xz
yuzu-97f5c4ffd3950994b852b287e1d24f4766e53bea.tar.zst
yuzu-97f5c4ffd3950994b852b287e1d24f4766e53bea.zip
Diffstat (limited to 'src/video_core/command_processor.cpp')
-rw-r--r--src/video_core/command_processor.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/command_processor.cpp b/src/video_core/command_processor.cpp
index 28e8c13aa..8b9c548cc 100644
--- a/src/video_core/command_processor.cpp
+++ b/src/video_core/command_processor.cpp
@@ -34,6 +34,9 @@ MICROPROFILE_DEFINE(ProcessCommandLists, "GPU", "Execute command buffer", MP_RGB
void GPU::ProcessCommandLists(const std::vector<CommandListHeader>& commands) {
MICROPROFILE_SCOPE(ProcessCommandLists);
+ // On entering GPU code, assume all memory may be touched by the ARM core.
+ maxwell_3d->dirty_flags.OnMemoryWrite();
+
auto WriteReg = [this](u32 method, u32 subchannel, u32 value, u32 remaining_params) {
LOG_TRACE(HW_GPU,
"Processing method {:08X} on subchannel {} value "