mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
libretro_get_system_info_lib - report error if dynamic library
could not be loaded
This commit is contained in:
parent
c5b13de208
commit
9b47e538c6
@ -129,7 +129,12 @@ static dylib_t libretro_get_system_info_lib(const char *path,
|
||||
void (*proc)(struct retro_system_info*);
|
||||
|
||||
if (!lib)
|
||||
{
|
||||
RARCH_ERR("Failed to open libretro core: \"%s\"\n",
|
||||
path);
|
||||
RARCH_ERR("Error(s): %s\n", dylib_error());
|
||||
return NULL;
|
||||
}
|
||||
|
||||
proc = (void (*)(struct retro_system_info*))
|
||||
dylib_proc(lib, "retro_get_system_info");
|
||||
|
Loading…
x
Reference in New Issue
Block a user