Better define for core_info.c

This commit is contained in:
twinaphex 2013-10-06 18:56:01 +00:00
parent 5a2531dbe1
commit 28630a9feb

View File

@ -53,7 +53,7 @@ core_info_list_t *core_info_list_new(const char *modules_path)
if (!core_info[i].path) if (!core_info[i].path)
break; break;
#if defined(IOS) || defined(HAVE_BB10) || defined(__QNX__) #if defined(RARCH_MOBILE) || defined(RARCH_CONSOLE)
// Libs are deployed with a suffix (*_ios.dylib, *_qnx.so, etc). // Libs are deployed with a suffix (*_ios.dylib, *_qnx.so, etc).
char buffer[PATH_MAX]; char buffer[PATH_MAX];
strlcpy(buffer, contents->elems[i].data, sizeof(buffer)); strlcpy(buffer, contents->elems[i].data, sizeof(buffer));