summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-10-15 23:49:12 +0200
committerGitHub <noreply@github.com>2019-10-15 23:49:12 +0200
commit2299950de13570e93565fa88c97221863e76337d (patch)
tree32c0f858382fbc9f49b7a086453fe86a9a6262ff /src/video_core
parentMerge pull request #2977 from lioncash/algorithm (diff)
parentvideo_core/gpu: Remove use of the global system accessor (diff)
downloadyuzu-2299950de13570e93565fa88c97221863e76337d.tar
yuzu-2299950de13570e93565fa88c97221863e76337d.tar.gz
yuzu-2299950de13570e93565fa88c97221863e76337d.tar.bz2
yuzu-2299950de13570e93565fa88c97221863e76337d.tar.lz
yuzu-2299950de13570e93565fa88c97221863e76337d.tar.xz
yuzu-2299950de13570e93565fa88c97221863e76337d.tar.zst
yuzu-2299950de13570e93565fa88c97221863e76337d.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/gpu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp
index 76cfe8107..fbb9105d6 100644
--- a/src/video_core/gpu.cpp
+++ b/src/video_core/gpu.cpp
@@ -326,7 +326,7 @@ void GPU::ProcessSemaphoreTriggerMethod() {
block.sequence = regs.semaphore_sequence;
// TODO(Kmather73): Generate a real GPU timestamp and write it here instead of
// CoreTiming
- block.timestamp = Core::System::GetInstance().CoreTiming().GetTicks();
+ block.timestamp = system.CoreTiming().GetTicks();
memory_manager->WriteBlock(regs.semaphore_address.SemaphoreAddress(), &block,
sizeof(block));
} else {