diff options
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWmain.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/SWmain.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/Core/VideoBackends/Software/SWmain.cpp b/Source/Core/VideoBackends/Software/SWmain.cpp index 8765a28e4c..18a739726b 100644 --- a/Source/Core/VideoBackends/Software/SWmain.cpp +++ b/Source/Core/VideoBackends/Software/SWmain.cpp @@ -38,11 +38,8 @@ public: ~PerfQuery() {} void EnableQuery(PerfQueryGroup type) override {} void DisableQuery(PerfQueryGroup type) override {} - void ResetQuery() override - { - memset(EfbInterface::perf_values, 0, sizeof(EfbInterface::perf_values)); - } - u32 GetQueryResult(PerfQueryType type) override { return EfbInterface::perf_values[type]; } + void ResetQuery() override { EfbInterface::ResetPerfQuery(); } + u32 GetQueryResult(PerfQueryType type) override { return EfbInterface::GetPerfQueryResult(type); } void FlushResults() override {} bool IsFlushed() const override { return true; } }; |
