summaryrefslogtreecommitdiff
path: root/source/framebuffer.c
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2007-01-30 23:46:49 +0000
committerIan C <ianc@noddybox.co.uk>2007-01-30 23:46:49 +0000
commit6fca8cfe0bcbe30767c30ac9b6d9a79e4fa19edc (patch)
tree303f46557317a8e43524ba7999715f547ab9783e /source/framebuffer.c
parentef641589bf763ea12e73abf4bf42e45ac1acd2ff (diff)
Added pseudo-hires support
Diffstat (limited to 'source/framebuffer.c')
-rw-r--r--source/framebuffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/framebuffer.c b/source/framebuffer.c
index 4a4b03d..ef66235 100644
--- a/source/framebuffer.c
+++ b/source/framebuffer.c
@@ -259,7 +259,7 @@ void FB_Blit(sImage *img, int x, int y)
{
if (img->width==WIDTH && img->height==HEIGHT)
{
- dmaCopy(img->data8,buff,SCREEN_WIDTH*SCREEN_HEIGHT*2);
+ dmaCopy(img->image.data8,buff,SCREEN_WIDTH*SCREEN_HEIGHT*2);
}
else
{
@@ -267,7 +267,7 @@ void FB_Blit(sImage *img, int x, int y)
for(f=0;f<img->height;f++)
{
- dmaCopy(img->data16+(f*img->width),
+ dmaCopy(img->image.data16+(f*img->width),
buff+x+(y+f)*WIDTH,img->width*2);
}
}