diff options
Diffstat (limited to 'apps/plugins/xworld/sys.h')
-rw-r--r-- | apps/plugins/xworld/sys.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/plugins/xworld/sys.h b/apps/plugins/xworld/sys.h index ced1fd98cd..4b1ec9b13a 100644 --- a/apps/plugins/xworld/sys.h +++ b/apps/plugins/xworld/sys.h @@ -64,12 +64,14 @@ struct keymapping_t { int down; int left; int right; -#if (CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD) + + /* These aren't conditional, even if they aren't used (this is to + * prevent headers and source from having varying defintions of + * this structure, leading to memory corruption */ int upleft; int upright; int downleft; int downright; -#endif }; typedef void (*AudioCallback)(void *param, uint8_t *stream, int len); |