mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-02 09:03:37 +00:00
remove VI width calculation
I see no reason why this is needed. REG.VI_WIDTH always has the correct width. This fixes the pole position minigame in namco museum and the gb tower in Pokemon Stadium 2 #529. This fixes transition effects in Body Harvest #650. This fixes problems with the copy auxiliary option in Body Harvest and Mario Tennis
This commit is contained in:
parent
34fa719a61
commit
af8f9bbe55
|
@ -46,8 +46,8 @@ void VI_UpdateSize()
|
|||
}
|
||||
if (VI.real_height % 2 == 1)
|
||||
--VI.real_height;
|
||||
} else if (hEnd != 0 && *REG.VI_WIDTH != 0)
|
||||
VI.width = min((u32)floorf((hEnd - hStart)*xScale + 0.5f), *REG.VI_WIDTH);
|
||||
} //else if (hEnd != 0 && *REG.VI_WIDTH != 0)
|
||||
//VI.width = min((u32)floorf((hEnd - hStart)*xScale + 0.5f), *REG.VI_WIDTH);
|
||||
|
||||
VI.PAL = (*REG.VI_V_SYNC & 0x3ff) > 550;
|
||||
if (VI.PAL && (vEnd - vStart) > 478) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user