mirror of
https://github.com/libretro/RetroArch
synced 2025-02-22 03:40:43 +00:00
(menu_content.c) Cleanups
This commit is contained in:
parent
42ce1de663
commit
915a420279
@ -49,13 +49,8 @@
|
|||||||
**/
|
**/
|
||||||
bool menu_content_playlist_load(menu_content_ctx_playlist_info_t *info)
|
bool menu_content_playlist_load(menu_content_ctx_playlist_info_t *info)
|
||||||
{
|
{
|
||||||
playlist_t *playlist = NULL;
|
const char *path = NULL;
|
||||||
const char *path = NULL;
|
playlist_t *playlist = (playlist_t*)info->data;
|
||||||
|
|
||||||
if (!info)
|
|
||||||
return false;
|
|
||||||
|
|
||||||
playlist = (playlist_t*)info->data;
|
|
||||||
|
|
||||||
if (!playlist)
|
if (!playlist)
|
||||||
return false;
|
return false;
|
||||||
@ -102,8 +97,8 @@ error:
|
|||||||
bool menu_content_playlist_find_associated_core(const char *path, char *s, size_t len)
|
bool menu_content_playlist_find_associated_core(const char *path, char *s, size_t len)
|
||||||
{
|
{
|
||||||
unsigned j;
|
unsigned j;
|
||||||
bool ret = false;
|
bool ret = false;
|
||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
struct string_list *existing_core_names =
|
struct string_list *existing_core_names =
|
||||||
string_split(settings->playlist_names, ";");
|
string_split(settings->playlist_names, ";");
|
||||||
struct string_list *existing_core_paths =
|
struct string_list *existing_core_paths =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user