forked from len0rd/rockbox
Extend lc_open() to also being able to load overlay plugins.
For this it needs to look at the plugin header. Since lc_open() doesn't know it's a plugin, the header needs to be changed slightly to include the new lc_header (which needs to be the first element in plugin_header so it can be casted savely). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28054 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
cec7c99613
commit
0d4585b28f
10 changed files with 167 additions and 105 deletions
|
@ -23,7 +23,7 @@
|
|||
#include "load_code.h"
|
||||
|
||||
/* the load_code wrappers simply wrap, nothing to do */
|
||||
void *lc_open(const char *filename, char *buf, size_t buf_size)
|
||||
void *lc_open(const char *filename, unsigned char *buf, size_t buf_size)
|
||||
{
|
||||
return _lc_open(filename, buf, buf_size);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue