mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
Build fix
This commit is contained in:
parent
d97c506ac4
commit
b0490c4f8c
@ -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++)
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user