Build fix

This commit is contained in:
twinaphex 2014-07-27 17:17:23 +02:00
parent d97c506ac4
commit b0490c4f8c
2 changed files with 4 additions and 3 deletions

View File

@ -272,10 +272,11 @@ void main_exit(args_type() args)
driver.frontend_ctx->shutdown(false);
}
void free_args(struct rarch_main_wrap *wrap_args, char **argv_copy, unsigned argv_size)
void free_args(void *data, char **argv_copy, unsigned argv_size)
{
unsigned i;
if (!wrap_args->touched)
struct rarch_main_wrap *wrap_args = (struct rarch_main_wrap*)data;
if (!wrap_args || !wrap_args->touched)
return;
for (i = 0; i < argv_size; i++)

View File

@ -38,7 +38,7 @@ extern "C" {
int main_entry_iterate(signature(), args_type() args);
void main_exit(args_type() args);
returntype main_entry(signature());
void free_args(struct rarch_main_wrap *wrap_args, char **argv_copy, unsigned argv_size);
void free_args(void *data, char **argv_copy, unsigned argv_size);
#ifdef __cplusplus
}