mirror of https://github.com/PCSX2/pcsx2.git
GSdx: should fix Issue 263, but I could not verify it
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1338 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
cdd68f345e
commit
743e93f3ee
|
@ -243,7 +243,7 @@ bool GSRenderer::Merge(int field)
|
||||||
int field2 = 1 - ((m_interlace - 1) & 1);
|
int field2 = 1 - ((m_interlace - 1) & 1);
|
||||||
int mode = (m_interlace - 1) >> 1;
|
int mode = (m_interlace - 1) >> 1;
|
||||||
|
|
||||||
m_dev->Interlace(ds, field ^ field2, mode, tex[1]->m_scale.y);
|
m_dev->Interlace(ds, field ^ field2, mode, tex[1] ? tex[1]->m_scale.y : tex[0]->m_scale.y);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -35,10 +35,12 @@ public:
|
||||||
enum {None, RenderTarget, DepthStencil, Texture, Offscreen};
|
enum {None, RenderTarget, DepthStencil, Texture, Offscreen};
|
||||||
|
|
||||||
virtual operator bool() = 0;
|
virtual operator bool() = 0;
|
||||||
|
|
||||||
virtual int GetType() const = 0;
|
virtual int GetType() const = 0;
|
||||||
virtual int GetWidth() const = 0;
|
virtual int GetWidth() const = 0;
|
||||||
virtual int GetHeight() const = 0;
|
virtual int GetHeight() const = 0;
|
||||||
virtual int GetFormat() const = 0;
|
virtual int GetFormat() const = 0;
|
||||||
|
|
||||||
virtual bool Update(const GSVector4i& r, const void* data, int pitch) = 0;
|
virtual bool Update(const GSVector4i& r, const void* data, int pitch) = 0;
|
||||||
virtual bool Map(uint8** bits, int& pitch, const GSVector4i* r = NULL) = 0;
|
virtual bool Map(uint8** bits, int& pitch, const GSVector4i* r = NULL) = 0;
|
||||||
virtual void Unmap() = 0;
|
virtual void Unmap() = 0;
|
||||||
|
|
|
@ -41,6 +41,7 @@ public:
|
||||||
int GetWidth() const;
|
int GetWidth() const;
|
||||||
int GetHeight() const;
|
int GetHeight() const;
|
||||||
int GetFormat() const;
|
int GetFormat() const;
|
||||||
|
|
||||||
bool Update(const GSVector4i& r, const void* data, int pitch);
|
bool Update(const GSVector4i& r, const void* data, int pitch);
|
||||||
bool Map(uint8** bits, int& pitch, const GSVector4i* r);
|
bool Map(uint8** bits, int& pitch, const GSVector4i* r);
|
||||||
void Unmap();
|
void Unmap();
|
||||||
|
|
|
@ -41,6 +41,7 @@ public:
|
||||||
int GetWidth() const;
|
int GetWidth() const;
|
||||||
int GetHeight() const;
|
int GetHeight() const;
|
||||||
int GetFormat() const;
|
int GetFormat() const;
|
||||||
|
|
||||||
bool Update(const GSVector4i& r, const void* data, int pitch);
|
bool Update(const GSVector4i& r, const void* data, int pitch);
|
||||||
bool Map(uint8** bits, int& pitch, const GSVector4i* r);
|
bool Map(uint8** bits, int& pitch, const GSVector4i* r);
|
||||||
void Unmap();
|
void Unmap();
|
||||||
|
|
|
@ -41,13 +41,12 @@ public:
|
||||||
int GetWidth() const;
|
int GetWidth() const;
|
||||||
int GetHeight() const;
|
int GetHeight() const;
|
||||||
int GetFormat() const;
|
int GetFormat() const;
|
||||||
|
|
||||||
bool Update(const GSVector4i& r, const void* data, int pitch);
|
bool Update(const GSVector4i& r, const void* data, int pitch);
|
||||||
bool Map(uint8** bits, int& pitch, const GSVector4i* r);
|
bool Map(uint8** bits, int& pitch, const GSVector4i* r);
|
||||||
void Unmap();
|
void Unmap();
|
||||||
bool Save(const string& fn, bool dds = false);
|
bool Save(const string& fn, bool dds = false);
|
||||||
|
|
||||||
//IDirect3DTexture9* operator->(); // TODO: remove direct access
|
|
||||||
|
|
||||||
operator IDirect3DSurface9*();
|
operator IDirect3DSurface9*();
|
||||||
operator IDirect3DTexture9*();
|
operator IDirect3DTexture9*();
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue