newppu: fix bug in _vt = 30,31 latching causing general malfunction (fix tecmo super bowl)

This commit is contained in:
zeromus 2009-10-10 22:36:16 +00:00
parent c3e6bb0013
commit 6d75c9ce0d
2 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,6 @@ NewPPU tests
Bad
Dragon's Lair - Black screen for level 1 (music plays)
Tecmo Super Bowl (U) [!] - Intro screen messed up, menus out of whack, Team selection screen bad, pre game screen, field is messed up.
Nightshade (U) - flickering
Good
@ -63,6 +62,7 @@ Super Mario Bros 2 USA
Super Mario Bros 3
Tecmobowl
Tecmo NBA Basketball (U)
Tecmo Super Bowl (U) [!] - [FIXED] Intro screen messed up, menus out of whack, Team selection screen bad, pre game screen, field is messed up.
TMNT
Transformers
Zanac

View File

@ -208,6 +208,7 @@ struct PPUREGS {
void increment_vs() {
fv++;
vt += (fv>>3);
vt &= 31; //fixed tecmo super bowl
v += (vt==30)?1:0;
fv &= 7;
if(vt==30) vt=0;