Merge pull request #2972 from lioncash/system
{bcat, gpu, nvflinger}: Remove trivial usages of the global system accessor
This commit is contained in:
commit
2299950de1
10 changed files with 64 additions and 34 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue