diff options
| author | Dolphin Bot <dolphin-emu-bot@users.noreply.github.com> | 2016-01-09 16:08:41 +0100 |
|---|---|---|
| committer | Dolphin Bot <dolphin-emu-bot@users.noreply.github.com> | 2016-01-09 16:08:41 +0100 |
| commit | 6e8cbff338e1d1eea40da5cb1f5d00aef9b74e92 (patch) | |
| tree | 220deb85d1b9e6a332e8f641b827348a7d4d5ded /Source/Core | |
| parent | dbe7e6634d3552aa95e026dc1c443bbaa611bd67 (diff) | |
| parent | 98ea1f773a671b9747459087e687b6e2be0eb104 (diff) | |
Merge pull request #3473 from Tilka/videosw
VideoSW: fix some warnings
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/VideoBackends/Software/SWVertexLoader.h | 2 | ||||
| -rw-r--r-- | Source/Core/VideoBackends/Software/SWmain.cpp | 15 |
2 files changed, 2 insertions, 15 deletions
diff --git a/Source/Core/VideoBackends/Software/SWVertexLoader.h b/Source/Core/VideoBackends/Software/SWVertexLoader.h index 7166ae6697..1880ae8c07 100644 --- a/Source/Core/VideoBackends/Software/SWVertexLoader.h +++ b/Source/Core/VideoBackends/Software/SWVertexLoader.h @@ -26,7 +26,7 @@ public: NativeVertexFormat* CreateNativeVertexFormat(const PortableVertexDeclaration& vdec) override; protected: - virtual void ResetBuffer(u32 stride); + void ResetBuffer(u32 stride) override; u16* GetIndexBuffer() { return &LocalIBuffer[0]; } private: void vFlush(bool useDstAlpha) override; diff --git a/Source/Core/VideoBackends/Software/SWmain.cpp b/Source/Core/VideoBackends/Software/SWmain.cpp index 59162c2f06..a2ed4ff3a0 100644 --- a/Source/Core/VideoBackends/Software/SWmain.cpp +++ b/Source/Core/VideoBackends/Software/SWmain.cpp @@ -44,15 +44,6 @@ #define VSYNC_ENABLED 0 -static std::atomic<bool> s_swapRequested; - -static volatile struct -{ - u32 xfbAddr; - u32 fbWidth; - u32 fbHeight; -} s_beginFieldArgs; - namespace SW { @@ -73,7 +64,7 @@ public: return EfbInterface::perf_values[type]; }; void FlushResults() override {} - bool IsFlushed() const {return true;}; + bool IsFlushed() const override { return true; }; }; class TextureCache : public TextureCacheBase @@ -136,10 +127,6 @@ class FramebufferManager : public FramebufferManagerBase } }; -static std::atomic<bool> fifoStateRun; -static std::atomic<bool> emuRunningState; -static std::mutex m_csSWVidOccupied; - std::string VideoSoftware::GetName() const { return "Software Renderer"; |
