diff options
Diffstat (limited to 'uisimulator/sdl/lcd-sdl.c')
-rw-r--r-- | uisimulator/sdl/lcd-sdl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uisimulator/sdl/lcd-sdl.c b/uisimulator/sdl/lcd-sdl.c index ad3463c390..c66b8115aa 100644 --- a/uisimulator/sdl/lcd-sdl.c +++ b/uisimulator/sdl/lcd-sdl.c | |||
@@ -129,7 +129,7 @@ void lcd_remote_update_rect(int x_start, int y_start, | |||
129 | { | 129 | { |
130 | Uint8 *p = (Uint8 *)remote_surface->pixels + y * remote_surface->pitch + x * bpp; | 130 | Uint8 *p = (Uint8 *)remote_surface->pixels + y * remote_surface->pitch + x * bpp; |
131 | 131 | ||
132 | *(Uint32 *)p = ((lcd_remote_framebuffer[y/8][x] >> (y & 7)) & 1); | 132 | *(Uint8 *)p = ((lcd_remote_framebuffer[y/8][x] >> (y & 7)) & 1); |
133 | } | 133 | } |
134 | 134 | ||
135 | SDL_UnlockSurface(remote_surface); | 135 | SDL_UnlockSurface(remote_surface); |