VideoSW: fix some warnings

This commit is contained in:
Tillmann Karras 2016-01-09 10:37:09 +01:00
parent dbe7e6634d
commit 98ea1f773a
2 changed files with 2 additions and 15 deletions

View File

@ -26,7 +26,7 @@ public:
NativeVertexFormat* CreateNativeVertexFormat(const PortableVertexDeclaration& vdec) override; NativeVertexFormat* CreateNativeVertexFormat(const PortableVertexDeclaration& vdec) override;
protected: protected:
virtual void ResetBuffer(u32 stride); void ResetBuffer(u32 stride) override;
u16* GetIndexBuffer() { return &LocalIBuffer[0]; } u16* GetIndexBuffer() { return &LocalIBuffer[0]; }
private: private:
void vFlush(bool useDstAlpha) override; void vFlush(bool useDstAlpha) override;

View File

@ -44,15 +44,6 @@
#define VSYNC_ENABLED 0 #define VSYNC_ENABLED 0
static std::atomic<bool> s_swapRequested;
static volatile struct
{
u32 xfbAddr;
u32 fbWidth;
u32 fbHeight;
} s_beginFieldArgs;
namespace SW namespace SW
{ {
@ -73,7 +64,7 @@ public:
return EfbInterface::perf_values[type]; return EfbInterface::perf_values[type];
}; };
void FlushResults() override {} void FlushResults() override {}
bool IsFlushed() const {return true;}; bool IsFlushed() const override { return true; };
}; };
class TextureCache : public TextureCacheBase 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 std::string VideoSoftware::GetName() const
{ {
return "Software Renderer"; return "Software Renderer";