mirror of https://github.com/PCSX2/pcsx2.git
GSTextureCache: Attach palette if needed (psm.pal > 0) also when reading part of framebuffer as texture.
This commit is contained in:
parent
f605012659
commit
0a5b1eb75d
|
@ -1171,6 +1171,11 @@ GSTextureCache::Source* GSTextureCache::CreateSource(const GIFRegTEX0& TEX0, con
|
|||
src->m_target = true;
|
||||
src->m_from_target = dst->m_texture;
|
||||
src->m_texture->SetScale(scale);
|
||||
|
||||
if (psm.pal > 0) {
|
||||
// Attach palette for GPU texture conversion
|
||||
AttachPaletteToSource(src, psm.pal, true);
|
||||
}
|
||||
}
|
||||
else if (dst)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue