NeoGeo: Display altname in ROM selector.

This commit is contained in:
sorgelig
2019-07-25 22:45:58 +08:00
parent b4c38439f1
commit 4234cd78a0
4 changed files with 214 additions and 85 deletions

View File

@@ -3125,7 +3125,14 @@ void HandleUI(void)
strcpy(SelectedDir, SelectedPath);
strcat(SelectedPath, "/");
}
strcat(SelectedPath, flist_SelectedItem()->d_name);
if (is_neogeo_core())
{
strcat(SelectedPath, neogeo_get_name(flist_SelectedItem()->d_ino));
}
else
{
strcat(SelectedPath, flist_SelectedItem()->d_name);
}
menustate = fs_MenuSelect;
}