summaryrefslogtreecommitdiff
path: root/firmware/export/screendump.h
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-17 10:31:31 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-24 21:20:13 +0000
commit658026e6267277b27d297c481728f74d160a8481 (patch)
tree915a9d2bb48469bdd5b9127dc19a61f230721a6c /firmware/export/screendump.h
parent8cb555460ff79e636a7907fb2589e16db98c8600 (diff)
downloadrockbox-658026e6267277b27d297c481728f74d160a8481.tar.gz
rockbox-658026e6267277b27d297c481728f74d160a8481.zip
[4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice.
Note: I left behind lcd_bitmap in features.txt, because removing it would require considerable work in the manual and the translations. Change-Id: Ia8ca7761f610d9332a0d22a7d189775fb15ec88a
Diffstat (limited to 'firmware/export/screendump.h')
-rw-r--r--firmware/export/screendump.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/firmware/export/screendump.h b/firmware/export/screendump.h
index 484bc4dc7a..cd7793b9d3 100644
--- a/firmware/export/screendump.h
+++ b/firmware/export/screendump.h
@@ -24,8 +24,7 @@
24 24
25#include "config.h" 25#include "config.h"
26 26
27/* Make BMP colour map entries from R, G, B triples, without and with blending. 27/* Make BMP colour map entries from R, G, B triples, without and with blending. */
28 * Not within HAVE_LCD_BITMAP because it is also used for the Player sim */
29#define RED_CMP(c) (((c) >> 16) & 0xff) 28#define RED_CMP(c) (((c) >> 16) & 0xff)
30#define GREEN_CMP(c) (((c) >> 8) & 0xff) 29#define GREEN_CMP(c) (((c) >> 8) & 0xff)
31#define BLUE_CMP(c) ((c) & 0xff) 30#define BLUE_CMP(c) ((c) & 0xff)
@@ -63,9 +62,7 @@
63/* Save a .BMP file containing the current screen contents. */ 62/* Save a .BMP file containing the current screen contents. */
64void screen_dump(void); 63void screen_dump(void);
65 64
66#ifdef HAVE_LCD_BITMAP
67void screen_dump_set_hook(void (*hook)(int fd)); 65void screen_dump_set_hook(void (*hook)(int fd));
68#endif
69 66
70#ifdef HAVE_REMOTE_LCD 67#ifdef HAVE_REMOTE_LCD
71/* Save a .BMP file containing the current remote screen contents. */ 68/* Save a .BMP file containing the current remote screen contents. */