diff --git a/config.def.h b/config.def.h index 6190af40eb..67b0c26931 100644 --- a/config.def.h +++ b/config.def.h @@ -390,6 +390,7 @@ #define DEFAULT_OVERLAY_AUTO_ROTATE false #endif +#include "runtime_file.h" #ifdef HAVE_MENU #include "menu/menu_driver.h" diff --git a/menu/menu_defines.h b/menu/menu_defines.h index ba307c66b4..d759e89f11 100644 --- a/menu/menu_defines.h +++ b/menu/menu_defines.h @@ -324,28 +324,6 @@ enum menu_action MENU_ACTION_POINTER_PRESSED }; -enum playlist_sublabel_runtime -{ - PLAYLIST_RUNTIME_PER_CORE = 0, - PLAYLIST_RUNTIME_AGGREGATE, - PLAYLIST_RUNTIME_LAST -}; - -enum playlist_sublabel_last_played_style_type -{ - PLAYLIST_LAST_PLAYED_STYLE_YMD_HMS = 0, - PLAYLIST_LAST_PLAYED_STYLE_YMD_HM, - PLAYLIST_LAST_PLAYED_STYLE_MDYYYY, - PLAYLIST_LAST_PLAYED_STYLE_DM_HM, - PLAYLIST_LAST_PLAYED_STYLE_MD_HM, - PLAYLIST_LAST_PLAYED_STYLE_YMD_HMS_AM_PM, - PLAYLIST_LAST_PLAYED_STYLE_YMD_HM_AM_PM, - PLAYLIST_LAST_PLAYED_STYLE_MDYYYY_AM_PM, - PLAYLIST_LAST_PLAYED_STYLE_DM_HM_AM_PM, - PLAYLIST_LAST_PLAYED_STYLE_MD_HM_AM_PM, - PLAYLIST_LAST_PLAYED_STYLE_LAST -}; - enum playlist_inline_core_display_type { PLAYLIST_INLINE_CORE_DISPLAY_HIST_FAV = 0, diff --git a/runtime_file.h b/runtime_file.h index 9776cf7a88..701d19293b 100644 --- a/runtime_file.h +++ b/runtime_file.h @@ -30,7 +30,6 @@ #include #include "playlist.h" -#include "menu/menu_defines.h" RETRO_BEGIN_DECLS @@ -58,6 +57,30 @@ typedef struct char path[PATH_MAX_LENGTH]; } runtime_log_t; +enum playlist_sublabel_last_played_style_type +{ + PLAYLIST_LAST_PLAYED_STYLE_YMD_HMS = 0, + PLAYLIST_LAST_PLAYED_STYLE_YMD_HM, + PLAYLIST_LAST_PLAYED_STYLE_MDYYYY, + PLAYLIST_LAST_PLAYED_STYLE_DM_HM, + PLAYLIST_LAST_PLAYED_STYLE_MD_HM, + PLAYLIST_LAST_PLAYED_STYLE_YMD_HMS_AM_PM, + PLAYLIST_LAST_PLAYED_STYLE_YMD_HM_AM_PM, + PLAYLIST_LAST_PLAYED_STYLE_MDYYYY_AM_PM, + PLAYLIST_LAST_PLAYED_STYLE_DM_HM_AM_PM, + PLAYLIST_LAST_PLAYED_STYLE_MD_HM_AM_PM, + PLAYLIST_LAST_PLAYED_STYLE_LAST +}; + +enum playlist_sublabel_runtime +{ + PLAYLIST_RUNTIME_PER_CORE = 0, + PLAYLIST_RUNTIME_AGGREGATE, + PLAYLIST_RUNTIME_LAST +}; + + + /* Initialisation */ /* Initialise runtime log, loading current parameters