mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Get rid of some more useless casts
This commit is contained in:
parent
9326d9c27c
commit
be6ce5fb34
2 changed files with 2 additions and 3 deletions
|
@ -42,7 +42,7 @@ static void find_first_libretro_core(char *first_file,
|
||||||
RARCH_LOG("Searching for valid libretro implementation in: \"%s\".\n",
|
RARCH_LOG("Searching for valid libretro implementation in: \"%s\".\n",
|
||||||
dir);
|
dir);
|
||||||
|
|
||||||
list = (struct string_list*)dir_list_new(dir, ext, false);
|
list = dir_list_new(dir, ext, false);
|
||||||
if (!list)
|
if (!list)
|
||||||
{
|
{
|
||||||
RARCH_ERR("Couldn't read directory. Cannot infer default libretro core.\n");
|
RARCH_ERR("Couldn't read directory. Cannot infer default libretro core.\n");
|
||||||
|
|
|
@ -1326,8 +1326,7 @@ static void menu_displaylist_push_horizontal_menu_list_content(
|
||||||
if (!info)
|
if (!info)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
str_list = (struct string_list*)dir_list_new(path,
|
str_list = dir_list_new(path, info->supported_extensions, true);
|
||||||
info->supported_extensions, true);
|
|
||||||
|
|
||||||
if (!str_list)
|
if (!str_list)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Reference in a new issue