diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2012-03-20 21:26:37 +1100 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2012-03-20 21:26:37 +1100 |
commit | 287bf712474494590013b4055cb1e8b6cd45e661 (patch) | |
tree | 06461d143f924de2bc08e33ef59a576ae24be802 /firmware/target/hosted/sdl | |
parent | bb6ac6fcbaabe25f64e5fe80e78cf4d6e201626d (diff) | |
download | rockbox-287bf712474494590013b4055cb1e8b6cd45e661.tar.gz rockbox-287bf712474494590013b4055cb1e8b6cd45e661.zip |
sdl: Fix the sdl init so the sim will get a taskbar item
Change-Id: Ib0049f96c54b4471a8185937d92bb6e8a492142a
Diffstat (limited to 'firmware/target/hosted/sdl')
-rw-r--r-- | firmware/target/hosted/sdl/system-sdl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/hosted/sdl/system-sdl.c b/firmware/target/hosted/sdl/system-sdl.c index 87b2e0ccd1..a57e704246 100644 --- a/firmware/target/hosted/sdl/system-sdl.c +++ b/firmware/target/hosted/sdl/system-sdl.c | |||
@@ -133,6 +133,8 @@ static int sdl_event_thread(void * param) | |||
133 | flags |= SDL_FULLSCREEN; | 133 | flags |= SDL_FULLSCREEN; |
134 | #endif | 134 | #endif |
135 | 135 | ||
136 | SDL_WM_SetCaption(UI_TITLE, NULL); | ||
137 | |||
136 | if ((gui_surface = SDL_SetVideoMode(width * display_zoom, height * display_zoom, depth, flags)) == NULL) { | 138 | if ((gui_surface = SDL_SetVideoMode(width * display_zoom, height * display_zoom, depth, flags)) == NULL) { |
137 | panicf("%s", SDL_GetError()); | 139 | panicf("%s", SDL_GetError()); |
138 | } | 140 | } |
@@ -149,8 +151,6 @@ static int sdl_event_thread(void * param) | |||
149 | SDL_SetCursor(hiddenCursor); | 151 | SDL_SetCursor(hiddenCursor); |
150 | #endif | 152 | #endif |
151 | 153 | ||
152 | SDL_WM_SetCaption(UI_TITLE, NULL); | ||
153 | |||
154 | if (background && picture_surface != NULL) | 154 | if (background && picture_surface != NULL) |
155 | SDL_BlitSurface(picture_surface, NULL, gui_surface, NULL); | 155 | SDL_BlitSurface(picture_surface, NULL, gui_surface, NULL); |
156 | 156 | ||