diff options
Diffstat (limited to 'apps/plugins/zxbox/zxvid_16bpp.c')
-rw-r--r-- | apps/plugins/zxbox/zxvid_16bpp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/zxbox/zxvid_16bpp.c b/apps/plugins/zxbox/zxvid_16bpp.c index 6380d3d7d7..f8482e3147 100644 --- a/apps/plugins/zxbox/zxvid_16bpp.c +++ b/apps/plugins/zxbox/zxvid_16bpp.c | |||
@@ -58,7 +58,7 @@ void update_screen(void) | |||
58 | byte *scrptr; | 58 | byte *scrptr; |
59 | scrptr = (byte *) SPNM(image); | 59 | scrptr = (byte *) SPNM(image); |
60 | */ | 60 | */ |
61 | frameb = rb->lcd_framebuffer; | 61 | frameb = *rb->lcd_framebuffer; |
62 | for ( y = 0 ; y < HEIGHT*WIDTH; y++ ){ | 62 | for ( y = 0 ; y < HEIGHT*WIDTH; y++ ){ |
63 | frameb[y] = FB_SCALARPACK(_16bpp_colors[(unsigned)sp_image[y]]); | 63 | frameb[y] = FB_SCALARPACK(_16bpp_colors[(unsigned)sp_image[y]]); |
64 | } | 64 | } |
@@ -68,7 +68,7 @@ void update_screen(void) | |||
68 | int srcx, srcy=0; /* x / y coordinates in source image */ | 68 | int srcx, srcy=0; /* x / y coordinates in source image */ |
69 | unsigned char* image; | 69 | unsigned char* image; |
70 | image = sp_image + ( (Y_OFF)*(WIDTH) ) + X_OFF; | 70 | image = sp_image + ( (Y_OFF)*(WIDTH) ) + X_OFF; |
71 | frameb = rb->lcd_framebuffer; | 71 | frameb = *rb->lcd_framebuffer; |
72 | for(y = 0; y < LCD_HEIGHT; y++) | 72 | for(y = 0; y < LCD_HEIGHT; y++) |
73 | { | 73 | { |
74 | srcx = 0; /* reset our x counter before each row... */ | 74 | srcx = 0; /* reset our x counter before each row... */ |