From 2d720b2a7968666bfc315026c8a69b8a762aa058 Mon Sep 17 00:00:00 2001 From: Jörg Hohensohn Date: Tue, 23 Dec 2003 22:24:48 +0000 Subject: I found several plugins to draw beyond screen boundary git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4176 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/cube.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'apps/plugins/cube.c') 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]; static int nb_points = 8; static int x_off = 56; -static int y_off = 95; +static int y_off = 31; static int z_off = 600; /* 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) while(!exit) { - if (!highspeed) + if (highspeed) + rb->yield(); + else rb->sleep(4); rb->lcd_clear_display(); -- cgit v1.2.3