From f740fcdbe7178a7bfab6923329330d4c6c5536c3 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sat, 17 Sep 2022 16:27:51 -0700 Subject: [PATCH] GPU: Minor cleanup of unnecessary virtual. --- GPU/GPUCommon.h | 2 +- GPU/GPUInterface.h | 1 - GPU/Software/SoftGpu.cpp | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/GPU/GPUCommon.h b/GPU/GPUCommon.h index 3a5674127f..26dd599164 100644 --- a/GPU/GPUCommon.h +++ b/GPU/GPUCommon.h @@ -103,7 +103,7 @@ public: void ExecuteOp(u32 op, u32 diff) override; void PreExecuteOp(u32 op, u32 diff) override; - bool InterpretList(DisplayList &list) override; + bool InterpretList(DisplayList &list); void ProcessDLQueue(); u32 UpdateStall(int listid, u32 newstall) override; u32 EnqueueList(u32 listpc, u32 stall, int subIntrBase, PSPPointer args, bool head) override; diff --git a/GPU/GPUInterface.h b/GPU/GPUInterface.h index 832897f598..2ce7c48620 100644 --- a/GPU/GPUInterface.h +++ b/GPU/GPUInterface.h @@ -205,7 +205,6 @@ public: virtual void PreExecuteOp(u32 op, u32 diff) = 0; virtual void ExecuteOp(u32 op, u32 diff) = 0; - virtual bool InterpretList(DisplayList& list) = 0; // Framebuffer management virtual void SetDisplayFramebuffer(u32 framebuf, u32 stride, GEBufferFormat format) = 0; diff --git a/GPU/Software/SoftGpu.cpp b/GPU/Software/SoftGpu.cpp index 18cdb0b314..9de5fe5cbd 100644 --- a/GPU/Software/SoftGpu.cpp +++ b/GPU/Software/SoftGpu.cpp @@ -650,7 +650,7 @@ void SoftGPU::MarkDirty(uint32_t addr, uint32_t stride, uint32_t height, GEBuffe } void SoftGPU::MarkDirty(uint32_t addr, uint32_t bytes, SoftGPUVRAMDirty value) { - // Don't bother tracking if frameskipping. + // Only bother tracking if frameskipping. if (g_Config.iFrameSkip == 0) return; if (!Memory::IsVRAMAddress(addr) || !Memory::IsVRAMAddress(addr + bytes - 1))