From d1bf155304d5643218cf70e58d8fb5191536fb9e Mon Sep 17 00:00:00 2001 From: neonloop Date: Tue, 7 Sep 2021 15:31:11 +0000 Subject: Enables softpatching for cores loading content from disk If a core sets need_fullpath, content is patched and written to a file in /tmp. This allows patching content for gpsp and probably others. --- options.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'options.c') diff --git a/options.c b/options.c index 7ef19ce..54e2607 100644 --- a/options.c +++ b/options.c @@ -405,14 +405,10 @@ void options_free(void) { free(entry->desc); } - if (entry->labels) - free(entry->labels); - - if (entry->values) - free(entry->values); - - if (entry->key) - free(entry->key); + free(entry->info); + free(entry->labels); + free(entry->values); + free(entry->key); } free(core_options.entries); } -- cgit v1.2.3