diff options
author | Jens Arnold <amiconn@rockbox.org> | 2008-01-04 23:42:38 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2008-01-04 23:42:38 +0000 |
commit | feb5b15e9bf9292e3d4d82ea1e01ab3557fb1240 (patch) | |
tree | d854c9a6fbbb3263537071fb02df349fdfa62361 /apps/plugins/zxbox/interf.c | |
parent | d3586837fa9221a7ef104550b4c0aadc1a6ea77c (diff) | |
download | rockbox-feb5b15e9bf9292e3d4d82ea1e01ab3557fb1240.tar.gz rockbox-feb5b15e9bf9292e3d4d82ea1e01ab3557fb1240.zip |
All-new greyscale library, replacing the old one. Features: (1) Drawing/updating is faster than the old grayscale lib at full depth. (2) Always 129 shades instead of 2..33 shades. (3) No graininess caused by frequent updates (mpegplayer, doom, ...). (4) Needs less memory than the old grayscale lib at full depth. * The tradeoff is slightly higher CPU load in the ISR (frames are calculated 'live') and an extra function in the core. * Ported all plugins which used the graylib to use the new one. * Some slight optimisations for archos and H1x0 LCD update.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15998 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/zxbox/interf.c')
-rw-r--r-- | apps/plugins/zxbox/interf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/zxbox/interf.c b/apps/plugins/zxbox/interf.c index 7f37262140..10c3dfa363 100644 --- a/apps/plugins/zxbox/interf.c +++ b/apps/plugins/zxbox/interf.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 1996-1998 Szeredi Miklos | 2 | * Copyright (C) 1996-1998 Szeredi Miklos |
3 | * Email: mszeredi@inf.bme.hu | 3 | * Email: mszeredi@inf.bme.hu |
4 | * | 4 | * |
@@ -94,7 +94,7 @@ char *spif_get_tape_fileinfo(int *startp, int *nump) | |||
94 | 94 | ||
95 | void put_msg(const char *msg) | 95 | void put_msg(const char *msg) |
96 | { | 96 | { |
97 | #ifndef USE_GRAY | 97 | #ifndef USE_GREY |
98 | rb->splash (HZ/2, msg ); | 98 | rb->splash (HZ/2, msg ); |
99 | #else | 99 | #else |
100 | LOGF(msg); | 100 | LOGF(msg); |
@@ -105,7 +105,7 @@ void put_msg(const char *msg) | |||
105 | 105 | ||
106 | void put_tmp_msg(const char *msg) | 106 | void put_tmp_msg(const char *msg) |
107 | { | 107 | { |
108 | #ifndef USE_GRAY | 108 | #ifndef USE_GREY |
109 | rb->splash (HZ/10, msg ); | 109 | rb->splash (HZ/10, msg ); |
110 | #else | 110 | #else |
111 | LOGF(msg); | 111 | LOGF(msg); |