forked from len0rd/rockbox
Fix finale text and try and prevent some data corruption due to the scaling code. Also allows the non-standard GP32 mods to work with some bounds checking. More comments are in v_video.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9511 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
33a62e8a8e
commit
45f2df0eba
3 changed files with 20 additions and 6 deletions
|
|
@ -304,7 +304,7 @@ void F_TextWrite (void)
|
|||
}
|
||||
|
||||
w = SHORT (hu_font[c].width);
|
||||
if (cx+w > SCREENWIDTH)
|
||||
if (cx+w > 320)
|
||||
break;
|
||||
// CPhipps - patch drawing updated
|
||||
V_DrawNumPatch(cx, cy, 0, hu_font[c].lumpnum, CR_DEFAULT, VPT_STRETCH);
|
||||
|
|
@ -638,7 +638,7 @@ static void F_BunnyScroll (void)
|
|||
laststage = stage;
|
||||
}
|
||||
|
||||
snprintf (name,sizeof(name), "END%i",stage);
|
||||
snprintf (name,sizeof(name), "END%d",stage);
|
||||
// CPhipps - patch drawing updated
|
||||
V_DrawNamePatch((320-13*8)/2, (200-8*8)/2, 0, name, CR_DEFAULT, VPT_STRETCH);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue