summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorJonas Häggqvist <rasher@rasher.dk>2009-01-08 20:04:17 +0000
committerJonas Häggqvist <rasher@rasher.dk>2009-01-08 20:04:17 +0000
commitfed22a06e6dd05b6aa989f877ebb5ecd4a57cf87 (patch)
tree83d487b657552dcf6ded4995d95b8ac88621e9b0 /uisimulator
parent36122cac6ab457692f545108a99681ad47526ee5 (diff)
downloadrockbox-fed22a06e6dd05b6aa989f877ebb5ecd4a57cf87.tar.gz
rockbox-fed22a06e6dd05b6aa989f877ebb5ecd4a57cf87.tar.bz2
rockbox-fed22a06e6dd05b6aa989f877ebb5ecd4a57cf87.zip
The simulator background logic is now reversed, such that it defaults to being enabled. Use --nobackground to disable it (FS#9626).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19726 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/sdl/uisdl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/uisimulator/sdl/uisdl.c b/uisimulator/sdl/uisdl.c
index f161d40567..81f9722a68 100644
--- a/uisimulator/sdl/uisdl.c
+++ b/uisimulator/sdl/uisdl.c
@@ -47,7 +47,7 @@ extern void new_key(int key);
void button_event(int key, bool pressed);
SDL_Surface *gui_surface;
-bool background = false; /* Don't use backgrounds by default */
+bool background = true; /* use backgrounds by default */
bool lcd_display_redraw = true; /* Used for player simulator */
char having_new_lcd = true; /* Used for player simulator */
@@ -196,10 +196,10 @@ int main(int argc, char *argv[])
debug_wps = true;
printf("WPS debug mode enabled.\n");
}
- else if (!strcmp("--background", argv[x]))
+ else if (!strcmp("--nobackground", argv[x]))
{
- background = true;
- printf("Using background image.\n");
+ background = false;
+ printf("Disabling background image.\n");
}
else if (!strcmp("--old_lcd", argv[x]))
{
@@ -235,7 +235,7 @@ int main(int argc, char *argv[])
printf("Arguments:\n");
printf(" --debugaudio \t Write raw PCM data to audiodebug.raw\n");
printf(" --debugwps \t Print advanced WPS debug info\n");
- printf(" --background \t Use background image of hardware\n");
+ printf(" --nobackground \t Disable the background image\n");
printf(" --old_lcd \t [Player] simulate old playermodel (ROM version<4.51)\n");
printf(" --zoom [VAL]\t Window zoom (will disable backgrounds)\n");
printf(" --alarm \t Simulate a wake-up on alarm\n");