mirror of https://github.com/PCSX2/pcsx2.git
GSState: Move m_dev to base class
This commit is contained in:
parent
0ddef1169d
commit
b16c75324e
|
@ -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)
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue