With need_fullpath == True and a zipped game image, RA did not clean up properly afterwards. Now the image is deleted again after exit.

This commit is contained in:
Timo Strunk 2014-10-08 17:53:40 +02:00
parent f30042ff03
commit ba8a5e564b

8
file.c
View File

@ -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);
}
}
}