mirror of https://github.com/PCSX2/pcsx2.git
GSdx:
- Crashfix for Dual Hearts, fixes part 1 of Issue 314. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2330 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
689e7843d4
commit
1bb1b71544
|
@ -259,6 +259,9 @@ GSTextureCache::Target* GSTextureCache::LookupTarget(const GIFRegTEX0& TEX0, int
|
||||||
|
|
||||||
void GSTextureCache::InvalidateVideoMem(const GSOffset* o, const GSVector4i& rect, bool target)
|
void GSTextureCache::InvalidateVideoMem(const GSOffset* o, const GSVector4i& rect, bool target)
|
||||||
{
|
{
|
||||||
|
// Fixme. Crashes Dual Hearts, maybe others as well. Was fine before r1549.
|
||||||
|
if (!o) return;
|
||||||
|
|
||||||
uint32 bp = o->bp;
|
uint32 bp = o->bp;
|
||||||
uint32 bw = o->bw;
|
uint32 bw = o->bw;
|
||||||
uint32 psm = o->psm;
|
uint32 psm = o->psm;
|
||||||
|
|
Loading…
Reference in New Issue