1
0
Fork 0
forked from len0rd/rockbox

Patch #4864 by Jonathan Gordon: text editor plugin, with some changes by me.

Also correct a var clash between the rockbox's gui api and doom plugin


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9451 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Hristo Kovachev 2006-04-03 08:51:08 +00:00
parent defbc69b2b
commit 38deb8f13a
13 changed files with 549 additions and 42 deletions

View file

@ -573,7 +573,7 @@ void R_InitBuffer(int width, int height)
viewwindowy = width==SCREENWIDTH ? 0 : (SCREENHEIGHT-(ST_SCALED_HEIGHT-1)-height)>>1;
topleft = screens[0] + viewwindowy*SCREENWIDTH + viewwindowx;
topleft = d_screens[0] + viewwindowy*SCREENWIDTH + viewwindowx;
// Preclaculate all row offsets.
// CPhipps - merge viewwindowx into here
@ -627,7 +627,7 @@ void R_FillBackScreen (void)
void R_VideoErase(unsigned ofs, int count)
{
memcpy(screens[0]+ofs, screens[1]+ofs, count); // LFB copy.
memcpy(d_screens[0]+ofs, d_screens[1]+ofs, count); // LFB copy.
}
//