mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-10 21:55:10 -05:00
Nano2G - call storage_flush() before rolo_restart() to ensure FTL is flushed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23087 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
0ada0ae789
commit
178337970e
1 changed files with 4 additions and 0 deletions
|
|
@ -33,6 +33,7 @@
|
||||||
#include "adc.h"
|
#include "adc.h"
|
||||||
#include "string.h"
|
#include "string.h"
|
||||||
#include "buffer.h"
|
#include "buffer.h"
|
||||||
|
#include "storage.h"
|
||||||
#include "rolo.h"
|
#include "rolo.h"
|
||||||
|
|
||||||
#ifdef MI4_FORMAT
|
#ifdef MI4_FORMAT
|
||||||
|
|
@ -362,6 +363,9 @@ int rolo_load(const char* filename)
|
||||||
defined(ARCHOS_FMRECORDER)
|
defined(ARCHOS_FMRECORDER)
|
||||||
PAIOR = 0x0FA0;
|
PAIOR = 0x0FA0;
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_STORAGE_FLUSH
|
||||||
|
storage_flush();
|
||||||
#endif
|
#endif
|
||||||
rolo_restart(audiobuf, ramstart, length);
|
rolo_restart(audiobuf, ramstart, length);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue