diff options
author | Jörg Hohensohn <hohensoh@rockbox.org> | 2003-12-23 22:24:48 +0000 |
---|---|---|
committer | Jörg Hohensohn <hohensoh@rockbox.org> | 2003-12-23 22:24:48 +0000 |
commit | 2d720b2a7968666bfc315026c8a69b8a762aa058 (patch) | |
tree | eabe756f60a5049c0697d0dad3af28c5d850ab44 /apps/plugins/cube.c | |
parent | 9aad0db9df7716fe4e2997bca09e8a0a46889b84 (diff) | |
download | rockbox-2d720b2a7968666bfc315026c8a69b8a762aa058.tar.gz rockbox-2d720b2a7968666bfc315026c8a69b8a762aa058.zip |
I found several plugins to draw beyond screen boundary
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4176 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/cube.c')
-rw-r--r-- | apps/plugins/cube.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/plugins/cube.c b/apps/plugins/cube.c index 996a1a81dd..17440ad496 100644 --- a/apps/plugins/cube.c +++ b/apps/plugins/cube.c | |||
@@ -41,7 +41,7 @@ static long matrice[3][3]; | |||
41 | static int nb_points = 8; | 41 | static int nb_points = 8; |
42 | 42 | ||
43 | static int x_off = 56; | 43 | static int x_off = 56; |
44 | static int y_off = 95; | 44 | static int y_off = 31; |
45 | static int z_off = 600; | 45 | static int z_off = 600; |
46 | 46 | ||
47 | /* Precalculated sine and cosine * 10000 (four digit fixed point math) */ | 47 | /* Precalculated sine and cosine * 10000 (four digit fixed point math) */ |
@@ -249,7 +249,9 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | |||
249 | 249 | ||
250 | while(!exit) | 250 | while(!exit) |
251 | { | 251 | { |
252 | if (!highspeed) | 252 | if (highspeed) |
253 | rb->yield(); | ||
254 | else | ||
253 | rb->sleep(4); | 255 | rb->sleep(4); |
254 | 256 | ||
255 | rb->lcd_clear_display(); | 257 | rb->lcd_clear_display(); |