From 8b948c34f53f8d83ec0e9812041e06e7418dd030 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Wed, 11 Feb 2009 00:10:35 +0000 Subject: Fix the Playersim as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19969 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/screendump.h | 4 +++- uisimulator/sdl/lcd-charcells.c | 4 ++-- 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 @@ #else /* !BOOTLOADER */ -#ifdef HAVE_LCD_BITMAP /* Save a .BMP file containing the current screen contents. */ void screen_dump(void); + +#ifdef HAVE_LCD_BITMAP void screen_dump_set_hook(void (*hook)(int fd)); #endif + #ifdef HAVE_REMOTE_LCD /* Save a .BMP file containing the current remote screen contents. */ void 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 @@ #include "debug.h" #include "lcd.h" #include "lcd-charcell.h" -#inclued "screendump.h" -#include "misc.h" +#include "screendump.h" +#include "general.h" #include #include #include -- cgit v1.2.3