mirror of https://github.com/PCSX2/pcsx2.git
GS/HW: Fix crash in PossibleCLUTDraw()
This commit is contained in:
parent
3436bb3792
commit
38480d3aed
|
@ -4788,7 +4788,8 @@ GSRendererHW::CLUTDrawTestResult GSRendererHW::PossibleCLUTDraw()
|
||||||
if (HasEEUpload(r))
|
if (HasEEUpload(r))
|
||||||
return CLUTDrawTestResult::CLUTDrawOnCPU;
|
return CLUTDrawTestResult::CLUTDrawOnCPU;
|
||||||
|
|
||||||
GSTextureCache::Target* tgt = g_texture_cache->GetExactTarget(m_cached_ctx.TEX0.TBP0, m_cached_ctx.TEX0.TBW, m_cached_ctx.TEX0.PSM);
|
GSTextureCache::Target* tgt = g_texture_cache->GetExactTarget(
|
||||||
|
m_cached_ctx.TEX0.TBP0, m_cached_ctx.TEX0.TBW, GSTextureCache::RenderTarget);
|
||||||
if (tgt)
|
if (tgt)
|
||||||
{
|
{
|
||||||
bool is_dirty = false;
|
bool is_dirty = false;
|
||||||
|
|
Loading…
Reference in New Issue