aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index a7392ed..7d86220 100644
--- a/src/main.c
+++ b/src/main.c
@@ -79,6 +79,9 @@ void play_splash(xbm_t *xbm, int col, int row)
void load_bmlist()
{
+ if (data_get_header(0) == 0) // There is no bitmap stored in flash
+ return; // skip
+
bm_t *curr_bm = bmlist_current();
for (int i=0; i<8; i++) {