mirror of
https://github.com/libretro/RetroArch
synced 2025-04-15 23:42:30 +00:00
(Lakka) ROM/core loading - add codepath for targets that don't
have HAVE_DYNAMIC defined as well
This commit is contained in:
parent
1c8dcff09c
commit
43b79f34c9
2
Makefile
2
Makefile
@ -1,4 +1,6 @@
|
||||
include config.mk
|
||||
HAVE_LAKKA = 1
|
||||
DEFINES += -DHAVE_LAKKA=1
|
||||
|
||||
TARGET = retroarch tools/retroarch-joyconfig tools/retrolaunch/retrolaunch
|
||||
|
||||
|
@ -105,7 +105,14 @@ static int menu_lakka_iterate(void *data, unsigned action)
|
||||
{
|
||||
strlcpy(g_extern.fullpath, categories[menu_active_category].items[categories[menu_active_category].active_item].rom, sizeof(g_extern.fullpath));
|
||||
strlcpy(g_settings.libretro, categories[menu_active_category].libretro, sizeof(g_settings.libretro));
|
||||
|
||||
#ifdef HAVE_DYNAMIC
|
||||
menu_update_system_info(rgui, &rgui->load_no_rom);
|
||||
g_extern.lifecycle_state |= (1ULL << MODE_LOAD_GAME);
|
||||
#else
|
||||
rarch_environment_cb(RETRO_ENVIRONMENT_SET_LIBRETRO_PATH, (void*)g_settings.libretro);
|
||||
rarch_environment_cb(RETRO_ENVIRONMENT_EXEC, (void*)g_extern.fullpath);
|
||||
#endif
|
||||
}
|
||||
return -1;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user