mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 00:20:01 +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)
|
||||
{
|
||||
if ((!strcasecmp(path + strlen(path) - 4, ".cue")) ||
|
||||
(!strcasecmp(path + strlen(path) - 4, ".m3u")))
|
||||
if ((!strcasecmp(path + strlen(path) - 4, ".cue")) ||
|
||||
(!strcasecmp(path + strlen(path) - 4, ".m3u")))
|
||||
{
|
||||
LOG_INFO("Starting CD game detection...");
|
||||
return detect_cd_game(path, game_name, max_len);
|
||||
}
|
||||
else
|
||||
{
|
||||
LOG_INFO("Starting rom game detection...");
|
||||
return detect_rom_game(path, game_name, max_len);
|
||||
}
|
||||
LOG_INFO("Starting CD game detection...");
|
||||
return detect_cd_game(path, game_name, max_len);
|
||||
}
|
||||
|
||||
LOG_INFO("Starting rom game detection...");
|
||||
return detect_rom_game(path, game_name, max_len);
|
||||
}
|
||||
|
||||
static int select_core(char *core_path, size_t max_len,
|
||||
|
Loading…
Reference in New Issue
Block a user