mirror of
https://github.com/libretro/RetroArch
synced 2025-03-20 10:20:51 +00:00
Merge pull request #1104 from timostrunk/cleanup_zip
With need_fullpath == True and a zipped game image, RA did not clean up ...
This commit is contained in:
commit
fb5510f2ac
8
file.c
8
file.c
@ -410,6 +410,14 @@ static bool load_content(const struct retro_subsystem_info *special,
|
||||
info[i].path =
|
||||
additional_path_allocs->elems
|
||||
[additional_path_allocs->size -1 ].data;
|
||||
|
||||
/* g_extern.temporary_content is initialized in init_content_file
|
||||
* The following part takes care of cleanup of the unzipped files
|
||||
* after exit.
|
||||
*/
|
||||
rarch_assert(g_extern.temporary_content != NULL);
|
||||
string_list_append(g_extern.temporary_content,
|
||||
new_path, attr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user