(Qt) Push buildfixes

This commit is contained in:
twinaphex 2019-02-06 23:40:36 +01:00
parent cbfe33c579
commit 0ab79550c9
2 changed files with 4 additions and 6 deletions

View File

@ -28,7 +28,8 @@ extern "C" {
#define THUMBNAILPACK_URL_HEADER "http://thumbnailpacks.libretro.com/"
#define THUMBNAILPACK_EXTENSION ".zip"
static void extractThumbnailPackCB(void *task_data, void *user_data, const char *err)
static void extractThumbnailPackCB(retro_task_t *task,
void *task_data, void *user_data, const char *err)
{
decompress_task_data_t *dec = (decompress_task_data_t*)task_data;
MainWindow *mainwindow = (MainWindow*)user_data;

View File

@ -120,7 +120,8 @@ static const QPixmap getInvader()
}
#ifdef HAVE_LIBRETRODB
static void scan_finished_handler(void *task_data, void *user_data, const char *err)
static void scan_finished_handler(retro_task_t *task,
void *task_data, void *user_data, const char *err)
{
bool dontAsk = false;
bool answer = false;
@ -131,10 +132,6 @@ static void scan_finished_handler(void *task_data, void *user_data, const char *
menu_environ.data = NULL;
#endif
(void)task_data;
(void)user_data;
(void)err;
#ifdef HAVE_MENU
menu_driver_ctl(RARCH_MENU_CTL_ENVIRONMENT, &menu_environ);
#endif