summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-10-12 15:50:55 +0200
committerLioncash <mathew1800@gmail.com>2019-10-15 22:39:30 +0200
commitb25b94400e480c598ddf57f7d8cddd96fa234693 (patch)
treedf4de2d6ecf028b42976a6689b03a25272fd8d11 /src/video_core/gpu.cpp
parentbcat: Remove use of global system accessors (diff)
downloadyuzu-b25b94400e480c598ddf57f7d8cddd96fa234693.tar
yuzu-b25b94400e480c598ddf57f7d8cddd96fa234693.tar.gz
yuzu-b25b94400e480c598ddf57f7d8cddd96fa234693.tar.bz2
yuzu-b25b94400e480c598ddf57f7d8cddd96fa234693.tar.lz
yuzu-b25b94400e480c598ddf57f7d8cddd96fa234693.tar.xz
yuzu-b25b94400e480c598ddf57f7d8cddd96fa234693.tar.zst
yuzu-b25b94400e480c598ddf57f7d8cddd96fa234693.zip
Diffstat (limited to '')
-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 {