mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-06 21:40:05 +00:00
VideoSW: fix some warnings
This commit is contained in:
parent
dbe7e6634d
commit
98ea1f773a
@ -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;
|
||||||
|
@ -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";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user