More union magic for setting regs value.

This commit is contained in:
kmather73
2018-12-28 00:13:49 -08:00
parent b1339327a9
commit 6574bbbbda
+1 -8
View File
@@ -187,11 +187,8 @@ void GPU::CallPullerMethod(const MethodCall& method_call) {
case BufferMethods::Nop:
case BufferMethods::SemaphoreAddressHigh:
case BufferMethods::SemaphoreAddressLow:
case BufferMethods::SemaphoreSequence:
break;
case BufferMethods::SemaphoreSequence: {
ProcessSetSemaphoreSequence();
break;
}
case BufferMethods::SemaphoreTrigger: {
ProcessSemaphoreTriggerMethod();
break;
@@ -347,8 +344,4 @@ void GPU::SetReferenceCount() {
regs.reference_count = regs.reg_array[static_cast<u32>(BufferMethods::RefCnt)];
}
void GPU::ProcessSetSemaphoreSequence() {
regs.semaphore_sequence = regs.reg_array[static_cast<u32>(BufferMethods::SemaphoreSequence)];
}
} // namespace Tegra