Do not look for libretro.so by default.

This commit is contained in:
Themaister 2012-04-28 10:06:10 +02:00
parent 7e850cd265
commit 8e85275418
2 changed files with 4 additions and 9 deletions

View File

@ -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

View File

@ -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.