gsdx psxmode: small hack to "see" video until we found a better solution

This commit is contained in:
Gregory Hainaut 2016-10-04 22:09:22 +02:00
parent 677f890c5c
commit 3653a7746a
1 changed files with 8 additions and 1 deletions

View File

@ -250,7 +250,14 @@ GSTexture* GSRendererSW::GetOutput(int i, int& y_offset)
{
Sync(1);
const GSRegDISPFB& DISPFB = m_regs->DISP[i].DISPFB;
GSRegDISPFB DISPFB = m_regs->DISP[i].DISPFB;
#if 1
// Hack for PSX until we find the correct way to decode it
if (DISPFB.PSM == 18) {
DISPFB.PSM = PSM_PSMCT16;
}
#endif
int w = DISPFB.FBW * 64;
int h = GetFrameRect(i).bottom;