Merge pull request #2972 from lioncash/system

{bcat, gpu, nvflinger}: Remove trivial usages of the global system accessor
This commit is contained in:
bunnei 2019-10-15 17:49:12 -04:00 committed by GitHub
commit 2299950de1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 64 additions and 34 deletions

View file

@ -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 {