Cleanups; C89_BUILD buildfixes, CXX_BUILD buildfixes, etc

This commit is contained in:
twinaphex 2020-07-28 10:47:26 +02:00
parent 0d6ceafb8b
commit 36c27378bf
3 changed files with 888 additions and 635 deletions

File diff suppressed because it is too large Load Diff

View File

@ -92,6 +92,13 @@ typedef int (playlist_sort_fun_t)(
const struct playlist_entry *a,
const struct playlist_entry *b);
/* TODO/FIXME - hack for allowing the explore view to switch
* over to a playlist item */
void playlist_set_cached(playlist_t* pl)
{
playlist_cached = pl;
}
/* Convenience function: copies specified playlist
* path to specified playlist configuration object */
void playlist_config_set_path(playlist_config_t *config, const char *path)
@ -2994,8 +3001,3 @@ core_info_t *playlist_get_default_core_info(playlist_t* playlist)
return NULL;
}
// hack for allowing the explore view to switch over to a playlist item
void playlist_set_cached(playlist_t* pl)
{
playlist_cached = pl;
}

View File

@ -345,6 +345,8 @@ core_info_t *playlist_entry_get_core_info(const struct playlist_entry* entry);
* default core association */
core_info_t *playlist_get_default_core_info(playlist_t* playlist);
void playlist_set_cached(playlist_t* pl);
RETRO_END_DECLS
#endif