forked from len0rd/rockbox
fix crash after unplugging USB while in image viewer plugin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28211 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d402abe3f8
commit
85f1df1b1a
2 changed files with 8 additions and 6 deletions
|
@ -382,9 +382,14 @@
|
|||
#define MIN_MEM 120000
|
||||
|
||||
/* State code for output with return. */
|
||||
#define PLUGIN_OTHER 10
|
||||
#define PLUGIN_ABORT 11
|
||||
#define PLUGIN_OUTOFMEM 12
|
||||
enum {
|
||||
PLUGIN_OTHER = 0x200,
|
||||
PLUGIN_ABORT,
|
||||
PLUGIN_OUTOFMEM,
|
||||
|
||||
ZOOM_IN,
|
||||
ZOOM_OUT,
|
||||
};
|
||||
|
||||
#if (CONFIG_PLATFORM & PLATFORM_NATIVE) && defined(HAVE_DISK_STORAGE)
|
||||
#define DISK_SPINDOWN
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue