One of these days I'll get it right. Sigh :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2715 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2010-03-14 21:34:16 +00:00
parent d29b968e51
commit 7f6f27b9d9
1 changed files with 0 additions and 4 deletions

View File

@ -555,7 +555,6 @@ GSTextureCache::Source* GSTextureCache::CreateSource(const GIFRegTEX0& TEX0, con
if(dst->m_type != RenderTarget) if(dst->m_type != RenderTarget)
{ {
// TODO // TODO
src = NULL;
delete src; delete src;
return NULL; return NULL;
} }
@ -632,7 +631,6 @@ GSTextureCache::Source* GSTextureCache::CreateSource(const GIFRegTEX0& TEX0, con
hack = true; hack = true;
if(tw == 256 && th == 128 && tp == 512 && (TEX0.TBP0 == 0 || TEX0.TBP0 == 0x00e00)) if(tw == 256 && th == 128 && tp == 512 && (TEX0.TBP0 == 0 || TEX0.TBP0 == 0x00e00))
{ {
src = NULL;
delete src; delete src;
return NULL; return NULL;
} }
@ -753,7 +751,6 @@ GSTextureCache::Source* GSTextureCache::CreateSource(const GIFRegTEX0& TEX0, con
if(src->m_texture == NULL) if(src->m_texture == NULL)
{ {
ASSERT(0); ASSERT(0);
src = NULL;
delete src; delete src;
return NULL; return NULL;
} }
@ -794,7 +791,6 @@ GSTextureCache::Target* GSTextureCache::CreateTarget(const GIFRegTEX0& TEX0, int
if(t->m_texture == NULL) if(t->m_texture == NULL)
{ {
ASSERT(0); ASSERT(0);
t = NULL;
delete t; delete t;
return NULL; return NULL;
} }