mirror of
https://github.com/libretro/RetroArch
synced 2025-03-20 01:21:03 +00:00
Fix subsystems sublabels (#14843)
This commit is contained in:
parent
52f34ee78f
commit
06c3cd80aa
@ -1381,9 +1381,10 @@ static int action_bind_sublabel_subsystem_load(
|
|||||||
unsigned j = 0;
|
unsigned j = 0;
|
||||||
char buf[4096];
|
char buf[4096];
|
||||||
|
|
||||||
|
buf[0] = '\0';
|
||||||
|
|
||||||
for (j = 0; j < content_get_subsystem_rom_id(); j++)
|
for (j = 0; j < content_get_subsystem_rom_id(); j++)
|
||||||
{
|
{
|
||||||
strlcat(buf, " ", sizeof(buf));
|
|
||||||
strlcat(buf, path_basename(content_get_subsystem_rom(j)), sizeof(buf));
|
strlcat(buf, path_basename(content_get_subsystem_rom(j)), sizeof(buf));
|
||||||
if (j != content_get_subsystem_rom_id() - 1)
|
if (j != content_get_subsystem_rom_id() - 1)
|
||||||
strlcat(buf, "\n", sizeof(buf));
|
strlcat(buf, "\n", sizeof(buf));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user