From c74d145167f1afad4a3e6b0bdf9c3be3c7861f31 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 4 Jun 2020 23:41:13 +0200 Subject: [PATCH] Hose this out of HAVE_NETWORKING ifdef --- tasks/tasks_internal.h | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/tasks/tasks_internal.h b/tasks/tasks_internal.h index 9acabac54e..cf8d5e7d62 100644 --- a/tasks/tasks_internal.h +++ b/tasks/tasks_internal.h @@ -103,17 +103,6 @@ void *task_push_core_updater_download( bool mute, bool check_crc, const char *path_dir_libretro); void task_push_update_installed_cores(const char *path_dir_libretro); -/* Core backup/restore tasks */ - -/* Note: If crc is set to 0, crc of core_path file will - * be calculated automatically */ -void *task_push_core_backup(const char *core_path, - uint32_t crc, enum core_backup_mode backup_mode, - const char *dir_core_assets, bool mute); -/* Note: If 'core_loaded' is true, menu stack should be - * flushed if task_push_core_restore() returns true */ -bool task_push_core_restore(const char *backup_path, const char *dir_libretro, - bool *core_loaded); bool task_push_pl_entry_thumbnail_download( const char *system, @@ -130,6 +119,20 @@ bool task_push_pl_thumbnail_download( #endif +/* Core backup/restore tasks */ + +/* Note: If crc is set to 0, crc of core_path file will + * be calculated automatically */ +void *task_push_core_backup(const char *core_path, + uint32_t crc, enum core_backup_mode backup_mode, + const char *dir_core_assets, bool mute); + +/* Note: If 'core_loaded' is true, menu stack should be + * flushed if task_push_core_restore() returns true */ +bool task_push_core_restore(const char *backup_path, + const char *dir_libretro, + bool *core_loaded); + bool task_push_pl_manager_reset_cores(const char *playlist_path); bool task_push_pl_manager_clean_playlist(const char *playlist_path);