forked from len0rd/rockbox
Add a "Flushing storage buffers" message to ROLO if it needs to do that.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23313 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
940fd995a4
commit
6afe802a83
1 changed files with 11 additions and 6 deletions
|
@ -286,6 +286,12 @@ int rolo_load(const char* filename)
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_STORAGE_FLUSH
|
||||||
|
lcd_puts(0, 1, "Flushing storage buffers");
|
||||||
|
lcd_update();
|
||||||
|
storage_flush();
|
||||||
|
#endif
|
||||||
|
|
||||||
lcd_puts(0, 1, "Executing");
|
lcd_puts(0, 1, "Executing");
|
||||||
lcd_update();
|
lcd_update();
|
||||||
#ifdef HAVE_REMOTE_LCD
|
#ifdef HAVE_REMOTE_LCD
|
||||||
|
@ -293,9 +299,6 @@ int rolo_load(const char* filename)
|
||||||
lcd_remote_update();
|
lcd_remote_update();
|
||||||
#endif
|
#endif
|
||||||
adc_close();
|
adc_close();
|
||||||
#ifdef HAVE_STORAGE_FLUSH
|
|
||||||
storage_flush();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef CPU_ARM
|
#ifdef CPU_ARM
|
||||||
/* Should do these together since some ARM version should never have
|
/* Should do these together since some ARM version should never have
|
||||||
|
@ -348,13 +351,15 @@ int rolo_load(const char* filename)
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
lcd_puts(0, 1, "Executing ");
|
|
||||||
lcd_update();
|
|
||||||
|
|
||||||
#ifdef HAVE_STORAGE_FLUSH
|
#ifdef HAVE_STORAGE_FLUSH
|
||||||
|
lcd_puts(0, 1, "Flushing ");
|
||||||
|
lcd_update();
|
||||||
storage_flush();
|
storage_flush();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
lcd_puts(0, 1, "Executing ");
|
||||||
|
lcd_update();
|
||||||
|
|
||||||
set_irq_level(HIGHEST_IRQ_LEVEL);
|
set_irq_level(HIGHEST_IRQ_LEVEL);
|
||||||
|
|
||||||
/* Calling these 2 initialization routines was necessary to get the
|
/* Calling these 2 initialization routines was necessary to get the
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue