From d49add014c415866ddbe2ca9abdeec55d3ed5f60 Mon Sep 17 00:00:00 2001 From: Brad Parker Date: Mon, 19 Sep 2016 20:58:31 -0400 Subject: [PATCH] forgot more archive paths --- tasks/task_decompress.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tasks/task_decompress.c b/tasks/task_decompress.c index 91dd67e70c..f41639e177 100644 --- a/tasks/task_decompress.c +++ b/tasks/task_decompress.c @@ -171,6 +171,8 @@ static void task_decompress_handler_target_file(retro_task_t *task) bool retdec; decompress_state_t *dec = (decompress_state_t*)task->state; struct archive_extract_userdata userdata = {0}; + userdata.archive_path = dec->source_file; + int ret = file_archive_parse_file_iterate(&dec->archive, &retdec, dec->source_file, dec->valid_ext, file_decompressed_target_file, &userdata); @@ -194,6 +196,7 @@ static void task_decompress_handler_subdir(retro_task_t *task) struct archive_extract_userdata userdata = {0}; userdata.dec = dec; + userdata.archive_path = dec->source_file; ret = file_archive_parse_file_iterate(&dec->archive, &retdec, dec->source_file,