diff options
author | neonloop | 2021-09-07 15:31:11 +0000 |
---|---|---|
committer | neonloop | 2021-09-07 15:31:11 +0000 |
commit | d1bf155304d5643218cf70e58d8fb5191536fb9e (patch) | |
tree | 391dfb369fd43e97816cabc4e51a4118de3154df /options.c | |
parent | 5d178649a6af2963e86e67613470fc31d64e5454 (diff) | |
download | picoarch-d1bf155304d5643218cf70e58d8fb5191536fb9e.tar.gz picoarch-d1bf155304d5643218cf70e58d8fb5191536fb9e.tar.bz2 picoarch-d1bf155304d5643218cf70e58d8fb5191536fb9e.zip |
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.
Diffstat (limited to 'options.c')
-rw-r--r-- | options.c | 12 |
1 files changed, 4 insertions, 8 deletions
@@ -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); } |