mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
(Steam) restore to original code
This commit is contained in:
parent
205b9f862f
commit
842121ca16
@ -157,7 +157,8 @@ core_info_t* steam_find_core_info_for_dlc(const char* name)
|
|||||||
strlcpy(core_info_name, start + 1, sizeof(core_info_name));
|
strlcpy(core_info_name, start + 1, sizeof(core_info_name));
|
||||||
|
|
||||||
/* Null terminate at the closing parenthesis. */
|
/* Null terminate at the closing parenthesis. */
|
||||||
if (!(end = strchr((const char*)&core_info_name, ')'))
|
char *end = strchr((const char*)&core_info_name, ')');
|
||||||
|
if (!end)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
*end = '\0';
|
*end = '\0';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user