diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/SOURCES | 2 | ||||
-rw-r--r-- | firmware/export/lcd.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/firmware/SOURCES b/firmware/SOURCES index dbfa102ceb..b70ee7f118 100644 --- a/firmware/SOURCES +++ b/firmware/SOURCES | |||
@@ -139,7 +139,7 @@ mp3data.c | |||
139 | #if CONFIG_CODEC != SWCODEC | 139 | #if CONFIG_CODEC != SWCODEC |
140 | mpeg.c | 140 | mpeg.c |
141 | #endif | 141 | #endif |
142 | #ifndef WIN32 /* the win32 sim has its own versin of these: */ | 142 | #if !defined(WIN32) || defined(SDL) |
143 | panic.c | 143 | panic.c |
144 | debug.c | 144 | debug.c |
145 | #endif | 145 | #endif |
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h index 7fcae6edf1..2779bd9c95 100644 --- a/firmware/export/lcd.h +++ b/firmware/export/lcd.h | |||
@@ -29,7 +29,9 @@ | |||
29 | 29 | ||
30 | #ifdef SIMULATOR | 30 | #ifdef SIMULATOR |
31 | #define lcd_icon(x,y) sim_lcd_icon(x,y) | 31 | #define lcd_icon(x,y) sim_lcd_icon(x,y) |
32 | #ifndef MAX_PATH | ||
32 | #define MAX_PATH 260 | 33 | #define MAX_PATH 260 |
34 | #endif | ||
33 | #else | 35 | #else |
34 | #include "file.h" /* for MAX_PATH; FIXME: Why does this not work for sims? */ | 36 | #include "file.h" /* for MAX_PATH; FIXME: Why does this not work for sims? */ |
35 | #endif | 37 | #endif |