mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 18:20:27 +00:00
(retrolaunch) cleanups pt. 2
This commit is contained in:
parent
521daf2dd6
commit
f3cfa8283a
@ -268,17 +268,15 @@ static int detect_rom_game(const char *path, char *game_name, size_t max_len)
|
|||||||
|
|
||||||
static int detect_game(const char *path, char *game_name, size_t max_len)
|
static int detect_game(const char *path, char *game_name, size_t max_len)
|
||||||
{
|
{
|
||||||
if ((!strcasecmp(path + strlen(path) - 4, ".cue")) ||
|
if ((!strcasecmp(path + strlen(path) - 4, ".cue")) ||
|
||||||
(!strcasecmp(path + strlen(path) - 4, ".m3u")))
|
(!strcasecmp(path + strlen(path) - 4, ".m3u")))
|
||||||
{
|
{
|
||||||
LOG_INFO("Starting CD game detection...");
|
LOG_INFO("Starting CD game detection...");
|
||||||
return detect_cd_game(path, game_name, max_len);
|
return detect_cd_game(path, game_name, max_len);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
LOG_INFO("Starting rom game detection...");
|
||||||
LOG_INFO("Starting rom game detection...");
|
return detect_rom_game(path, game_name, max_len);
|
||||||
return detect_rom_game(path, game_name, max_len);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int select_core(char *core_path, size_t max_len,
|
static int select_core(char *core_path, size_t max_len,
|
||||||
|
Loading…
Reference in New Issue
Block a user