From a59cee2521c26bcd97c3fb5f61499c723da6059a Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 2 Dec 2015 04:04:51 +0100 Subject: [PATCH] Update bundle assets task call --- menu/menu.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/menu/menu.c b/menu/menu.c index ad7dbdf8ea..1b19fab7b7 100644 --- a/menu/menu.c +++ b/menu/menu.c @@ -25,6 +25,8 @@ #include "../general.h" #include "../frontend/frontend.h" +#include "../tasks/tasks.h" + static void menu_environment_get(int *argc, char *argv[], void *args, void *params_data) { @@ -275,11 +277,12 @@ void *menu_init(const void *data) #if 0 if (settings->bundle_assets_extract_enable && + settings->bundle_assets_src_path[0] != '\0' && settings->bundle_assets_dst_path[0] != '\0' && settings->bundle_assets_extract_version_current != settings->bundle_assets_extract_last_version ) { rarch_task_push_decompress(settings->bundle_assets_src_path, settings->bundle_assets_dst_path, NULL, - bundle_decompressed); + bundle_decompressed, NULL); } #endif