mirror of
https://github.com/libretro/RetroArch
synced 2025-02-02 05:54:16 +00:00
Do not look for libretro.so by default.
This commit is contained in:
parent
7e850cd265
commit
8e85275418
10
dynamic.c
10
dynamic.c
@ -156,14 +156,8 @@ void init_libretro_sym(void)
|
|||||||
|
|
||||||
if (!*g_settings.libretro)
|
if (!*g_settings.libretro)
|
||||||
{
|
{
|
||||||
#if defined(_WIN32)
|
RARCH_ERR("RetroArch is built for dynamic libretro, but libretro_path is not set. Cannot continue.\n");
|
||||||
const char *libretro_path = "retro.dll";
|
rarch_fail(1, "init_libretro_sym()");
|
||||||
#elif defined(__APPLE__)
|
|
||||||
const char *libretro_path = "libretro.dylib";
|
|
||||||
#else
|
|
||||||
const char *libretro_path = "libretro.so";
|
|
||||||
#endif
|
|
||||||
strlcpy(g_settings.libretro, libretro_path, sizeof(g_settings.libretro));
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -8,7 +8,8 @@
|
|||||||
# This will be overridden by explicit command line options.
|
# This will be overridden by explicit command line options.
|
||||||
# savestate_directory =
|
# savestate_directory =
|
||||||
|
|
||||||
# If enabled, load libretro from a dynamic location.
|
# Load libretro from a dynamic location for dynamically built RetroArch.
|
||||||
|
# This option is mandatory.
|
||||||
# libretro_path = "/path/to/libretro.so"
|
# libretro_path = "/path/to/libretro.so"
|
||||||
|
|
||||||
# Environment variables internally in RetroArch.
|
# Environment variables internally in RetroArch.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user