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 | 6a50c481fd130fcf05ecdc86376f9fb8097096c7 (patch) | |
| tree | df4de2d6ecf028b42976a6689b03a25272fd8d11 /src/video_core/gpu.cpp | |
| parent | 3d91f45a3008abe229878586204c410da0b3f637 (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 76cfe81070..fbb9105d65 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 { |
