mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 10:10:57 +00:00
core_info.c - move comment so it's more readable
This commit is contained in:
parent
549ce2bb6c
commit
cc992f557e
@ -58,7 +58,6 @@ core_info_list_t *core_info_list_new(const char *modules_path)
|
||||
path_remove_extension(info_path_base);
|
||||
|
||||
#if defined(RARCH_MOBILE) || defined(RARCH_CONSOLE)
|
||||
// Libs are deployed with a suffix (*_ios.dylib, *_qnx.so, etc).
|
||||
#ifdef ANDROID
|
||||
// Android libs have to be prefixed with 'lib' - so cores begin with 'libretro_' prefix
|
||||
char *substr = strstr(info_path_base, "libretro_");
|
||||
@ -66,6 +65,7 @@ core_info_list_t *core_info_list_new(const char *modules_path)
|
||||
*substr = '\0';
|
||||
strlcat(info_path_base, "_libretro", sizeof(info_path_base));
|
||||
#else
|
||||
// Libs are deployed with a suffix (*_ios.dylib, *_qnx.so, etc).
|
||||
char *substr = strrchr(info_path_base, '_');
|
||||
if (substr)
|
||||
*substr = '\0';
|
||||
|
Loading…
Reference in New Issue
Block a user