forked from len0rd/rockbox
Solitaire: * Button assignments: Better layout for ipods, allowing one-handed operation during the game. More logical shortcut buttons for Ondios. Slight changes for other targets, including working button repeat for up/down when there is no dual use. * Help text showing all possible buttons instead of forcing the user to try and find out. The text adapts to LCD resolution and selected font.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10985 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6b97c1793f
commit
b0a7de6b7d
2 changed files with 5 additions and 1 deletions
|
@ -466,6 +466,8 @@ static const struct plugin_api rockbox_api = {
|
|||
|
||||
/* new stuff at the end, sort into place next time
|
||||
the API gets incompatible */
|
||||
|
||||
strtok_r,
|
||||
};
|
||||
|
||||
int plugin_load(const char* plugin, void* parameter)
|
||||
|
|
|
@ -105,7 +105,7 @@
|
|||
#define PLUGIN_MAGIC 0x526F634B /* RocK */
|
||||
|
||||
/* increase this every time the api struct changes */
|
||||
#define PLUGIN_API_VERSION 30
|
||||
#define PLUGIN_API_VERSION 31
|
||||
|
||||
/* update this to latest version if a change to the api struct breaks
|
||||
backwards compatibility (and please take the opportunity to sort in any
|
||||
|
@ -545,6 +545,8 @@ struct plugin_api {
|
|||
|
||||
/* new stuff at the end, sort into place next time
|
||||
the API gets incompatible */
|
||||
|
||||
char* (*strtok_r)(char *ptr, const char *sep, char **end);
|
||||
};
|
||||
|
||||
/* plugin header */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue