From 14125cf9519d3ca17d2ea160e83112cf8b7b27a2 Mon Sep 17 00:00:00 2001 From: comex Date: Sun, 24 Aug 2014 16:27:32 -0400 Subject: Refactor SetCpStatus into two functions for from-GPU and from-CPU mode rather than a boolean parameter. This shouldn't affect functionality. I'm not sure if the breakpoint distinction is actually necessary (my commit messages from the old dc-netplay last year claim that breakpoints are broken anyway, but I don't remember why), but I don't actually need to change this part of the code (yet), so I'll stick with the trimmings change for now. --- Source/Core/VideoCommon/CommandProcessor.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Source/Core/VideoCommon/CommandProcessor.h') diff --git a/Source/Core/VideoCommon/CommandProcessor.h b/Source/Core/VideoCommon/CommandProcessor.h index 300893d755..a70c30fb36 100644 --- a/Source/Core/VideoCommon/CommandProcessor.h +++ b/Source/Core/VideoCommon/CommandProcessor.h @@ -135,7 +135,8 @@ void DoState(PointerWrap &p); void RegisterMMIO(MMIO::Mapping* mmio, u32 base); -void SetCpStatus(bool isCPUThread = false); +void SetCPStatusFromGPU(); +void SetCPStatusFromCPU(); void GatherPipeBursted(); void UpdateInterrupts(u64 userdata); void UpdateInterruptsFromVideoBackend(u64 userdata); -- cgit v1.2.3