summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2009-02-11 00:10:35 +0000
committerJens Arnold <amiconn@rockbox.org>2009-02-11 00:10:35 +0000
commit8b948c34f53f8d83ec0e9812041e06e7418dd030 (patch)
treee03a0ff2fca05123cb72c806167bdaaa73b5ec4a
parent7ddcce11063bc42179fc112f1ab40bd327ca79bc (diff)
downloadrockbox-8b948c34f53f8d83ec0e9812041e06e7418dd030.tar.gz
rockbox-8b948c34f53f8d83ec0e9812041e06e7418dd030.zip
Fix the Playersim as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19969 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/export/screendump.h4
-rw-r--r--uisimulator/sdl/lcd-charcells.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/firmware/export/screendump.h b/firmware/export/screendump.h
index 515db08a70..87b32c6bee 100644
--- a/firmware/export/screendump.h
+++ b/firmware/export/screendump.h
@@ -47,11 +47,13 @@
47 47
48#else /* !BOOTLOADER */ 48#else /* !BOOTLOADER */
49 49
50#ifdef HAVE_LCD_BITMAP
51/* Save a .BMP file containing the current screen contents. */ 50/* Save a .BMP file containing the current screen contents. */
52void screen_dump(void); 51void screen_dump(void);
52
53#ifdef HAVE_LCD_BITMAP
53void screen_dump_set_hook(void (*hook)(int fd)); 54void screen_dump_set_hook(void (*hook)(int fd));
54#endif 55#endif
56
55#ifdef HAVE_REMOTE_LCD 57#ifdef HAVE_REMOTE_LCD
56/* Save a .BMP file containing the current remote screen contents. */ 58/* Save a .BMP file containing the current remote screen contents. */
57void remote_screen_dump(void); 59void remote_screen_dump(void);
diff --git a/uisimulator/sdl/lcd-charcells.c b/uisimulator/sdl/lcd-charcells.c
index 30aa0a6a81..25611c90db 100644
--- a/uisimulator/sdl/lcd-charcells.c
+++ b/uisimulator/sdl/lcd-charcells.c
@@ -22,8 +22,8 @@
22#include "debug.h" 22#include "debug.h"
23#include "lcd.h" 23#include "lcd.h"
24#include "lcd-charcell.h" 24#include "lcd-charcell.h"
25#inclued "screendump.h" 25#include "screendump.h"
26#include "misc.h" 26#include "general.h"
27#include <string.h> 27#include <string.h>
28#include <unistd.h> 28#include <unistd.h>
29#include <fcntl.h> 29#include <fcntl.h>