GSState: Move m_dev to base class

This commit is contained in:
Connor McLaughlin 2021-12-30 15:43:23 +10:00 committed by refractionpcsx2
parent 0ddef1169d
commit b16c75324e
4 changed files with 2 additions and 4 deletions

View File

@ -31,6 +31,7 @@ GSState::GSState()
, m_q(1.0f) , m_q(1.0f)
, m_scanmask_used(false) , m_scanmask_used(false)
, m_vt(this) , m_vt(this)
, m_dev(nullptr)
, m_regs(NULL) , m_regs(NULL)
, m_crc(0) , m_crc(0)
, m_options(0) , m_options(0)

View File

@ -205,6 +205,7 @@ protected:
GIFRegTEX0 GetTex0Layer(u32 lod); GIFRegTEX0 GetTex0Layer(u32 lod);
public: public:
GSDevice* m_dev;
GIFPath m_path[4]; GIFPath m_path[4];
GIFRegPRIM* PRIM; GIFRegPRIM* PRIM;
GSPrivRegSet* m_regs; GSPrivRegSet* m_regs;

View File

@ -31,7 +31,6 @@ GSRenderer::GSRenderer()
, m_control_key(false) , m_control_key(false)
, m_texture_shuffle(false) , m_texture_shuffle(false)
, m_real_size(0, 0) , m_real_size(0, 0)
, m_dev(NULL)
{ {
m_GStitleInfoBuffer[0] = 0; m_GStitleInfoBuffer[0] = 0;

View File

@ -45,9 +45,6 @@ protected:
virtual GSTexture* GetOutput(int i, int& y_offset) = 0; virtual GSTexture* GetOutput(int i, int& y_offset) = 0;
virtual GSTexture* GetFeedbackOutput() { return nullptr; } virtual GSTexture* GetFeedbackOutput() { return nullptr; }
public:
GSDevice* m_dev;
public: public:
GSRenderer(); GSRenderer();
virtual ~GSRenderer(); virtual ~GSRenderer();