diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2010-02-19 10:26:26 +0100 |
---|---|---|
committer | Segher Boessenkool <segher@kernel.crashing.org> | 2010-02-19 10:26:26 +0100 |
commit | 0a046e4a9d66fb154aac2242f034836c52841a24 (patch) | |
tree | 1c14a7bc50355bbfe5ac34d24658a44f6fd879c3 | |
parent | 06591f8e49e37677fb041d0bdc956acb348c0c49 (diff) |
Fix 3x3 mode
-rw-r--r-- | platform-sdl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/platform-sdl.c b/platform-sdl.c index 72ec1e9..7ab85cc 100644 --- a/platform-sdl.c +++ b/platform-sdl.c @@ -145,9 +145,9 @@ void update_screen(void) for (x = 0; x < 320; x++) { u32 c = *s++; - p[2*x] = c; - p[2*x + 1] = c; - p[2*x + 2] = c; + p[3*x] = c; + p[3*x + 1] = c; + p[3*x + 2] = c; } memcpy(p2, p, 12*320); |