diff options
author | Lioncash <mathew1800@gmail.com> | 2019-10-12 09:50:55 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-10-15 16:39:30 -0400 |
commit | b25b94400e480c598ddf57f7d8cddd96fa234693 (patch) | |
tree | df4de2d6ecf028b42976a6689b03a25272fd8d11 /src/video_core/gpu.cpp | |
parent | cc1d7048b590a6f39ddf6d3065197ce475912403 (diff) |
video_core/gpu: Remove use of the global system accessor
We can just make use of the reference member variable instead of
accessing the global system instance.
Diffstat (limited to 'src/video_core/gpu.cpp')
-rw-r--r-- | src/video_core/gpu.cpp | 2 |
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 { |