diff options
Diffstat (limited to 'uisimulator/sdl/lcd-charcell.c')
-rw-r--r-- | uisimulator/sdl/lcd-charcell.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/uisimulator/sdl/lcd-charcell.c b/uisimulator/sdl/lcd-charcell.c index 28ce0917c0..59ae39a248 100644 --- a/uisimulator/sdl/lcd-charcell.c +++ b/uisimulator/sdl/lcd-charcell.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include "lcd-sdl.h" | 29 | #include "lcd-sdl.h" |
30 | 30 | ||
31 | /* extern functions, needed for screendump() */ | 31 | /* extern functions, needed for screendump() */ |
32 | extern int sim_creat(const char *name, mode_t mode); | 32 | extern int sim_creat(const char *name); |
33 | 33 | ||
34 | SDL_Surface* lcd_surface; | 34 | SDL_Surface* lcd_surface; |
35 | SDL_Color lcd_color_zero = {UI_LCD_BGCOLOR, 0}; | 35 | SDL_Color lcd_color_zero = {UI_LCD_BGCOLOR, 0}; |
@@ -185,7 +185,7 @@ void screen_dump(void) | |||
185 | IF_CNFN_NUM_(, NULL)); | 185 | IF_CNFN_NUM_(, NULL)); |
186 | DEBUGF("screen_dump\n"); | 186 | DEBUGF("screen_dump\n"); |
187 | 187 | ||
188 | fd = sim_creat(filename, O_WRONLY); | 188 | fd = sim_creat(filename); |
189 | if (fd < 0) | 189 | if (fd < 0) |
190 | return; | 190 | return; |
191 | 191 | ||