(Nuklear) Buildfix

This commit is contained in:
twinaphex 2016-05-03 15:33:36 +02:00
parent acd1e0b1e1
commit 93df66ea2f

View File

@ -324,7 +324,7 @@ static void *nk_menu_init(void **userdata)
*userdata = nk;
fill_pathname_join(nk->assets_directory, settings->assets_directory,
fill_pathname_join(nk->assets_directory, settings->directory.assets,
"zahnrad", sizeof(nk->assets_directory));
nk_menu_init_device(nk);
@ -385,7 +385,7 @@ static void nk_menu_context_reset(void *data)
if (!nk || !settings)
return;
fill_pathname_join(iconpath, settings->assets_directory,
fill_pathname_join(iconpath, settings->directory.assets,
"zahnrad", sizeof(iconpath));
fill_pathname_slash(iconpath, sizeof(iconpath));
@ -395,7 +395,7 @@ static void nk_menu_context_reset(void *data)
wimp_context_bg_destroy(nk);
nk_menu_context_reset_textures(nk, iconpath);
rarch_task_push_image_load(settings->menu.wallpaper, "cb_menu_wallpaper",
rarch_task_push_image_load(settings->path.menu_wallpaper, "cb_menu_wallpaper",
menu_display_handle_wallpaper_upload, NULL);
}