fix build

git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@886 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2010-09-06 19:30:16 +00:00
parent c66f49e61a
commit 24cf9d991a
2 changed files with 7 additions and 5 deletions

View file

@ -339,7 +339,7 @@ int pnd_setup_layer(int enabled, int x, int y, int w, int h)
void pnd_restore_layer_data(void)
{
short *t = ((short *)fb_copy)[320*240 / 2 + 160];
short *t = (short *)fb_copy + 320*240 / 2 + 160;
// right now this is used by menu, which wants to preview something
// so try to get something on the layer.