mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
Allow "Load Content" when RETRO_ENVIRONMENT_SET_SUPPORT_NO_GAME = true
This commit is contained in:
parent
77ddea41c8
commit
b8391e4cc2
@ -871,8 +871,10 @@ static void content_load_init_wrap(
|
|||||||
*argc = 0;
|
*argc = 0;
|
||||||
argv[(*argc)++] = strdup("retroarch");
|
argv[(*argc)++] = strdup("retroarch");
|
||||||
|
|
||||||
|
#ifndef HAVE_DYNAMIC
|
||||||
if (!args->no_content)
|
if (!args->no_content)
|
||||||
{
|
{
|
||||||
|
#endif
|
||||||
if (args->content_path)
|
if (args->content_path)
|
||||||
{
|
{
|
||||||
RARCH_LOG("Using content: %s.\n", args->content_path);
|
RARCH_LOG("Using content: %s.\n", args->content_path);
|
||||||
@ -886,7 +888,9 @@ static void content_load_init_wrap(
|
|||||||
argv[(*argc)++] = strdup("--menu");
|
argv[(*argc)++] = strdup("--menu");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef HAVE_DYNAMIC
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (args->sram_path)
|
if (args->sram_path)
|
||||||
{
|
{
|
||||||
@ -1995,7 +1999,7 @@ bool task_push_content_load_default(
|
|||||||
#endif
|
#endif
|
||||||
case CONTENT_MODE_LOAD_CONTENT_WITH_FFMPEG_CORE_FROM_MENU:
|
case CONTENT_MODE_LOAD_CONTENT_WITH_FFMPEG_CORE_FROM_MENU:
|
||||||
case CONTENT_MODE_LOAD_CONTENT_WITH_IMAGEVIEWER_CORE_FROM_MENU:
|
case CONTENT_MODE_LOAD_CONTENT_WITH_IMAGEVIEWER_CORE_FROM_MENU:
|
||||||
if (!task_load_content(content_info, loading_from_menu, mode))
|
if (!g(content_info, loading_from_menu, mode))
|
||||||
goto error;
|
goto error;
|
||||||
break;
|
break;
|
||||||
#ifndef HAVE_DYNAMIC
|
#ifndef HAVE_DYNAMIC
|
||||||
|
Loading…
x
Reference in New Issue
Block a user