mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
Cleanups
This commit is contained in:
parent
9046626256
commit
dbff4e52bc
@ -36,6 +36,7 @@
|
||||
#include "../verbosity.h"
|
||||
|
||||
#define MAGIC_LEN 16
|
||||
#define MAX_TOKEN_LEN 255
|
||||
|
||||
struct magic_entry
|
||||
{
|
||||
|
@ -21,8 +21,6 @@
|
||||
|
||||
#include "../runloop.h"
|
||||
|
||||
#define MAX_TOKEN_LEN 255
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
@ -32,7 +30,13 @@ typedef void (*rarch_task_callback_t)(void *task_data, void *user_data, const ch
|
||||
typedef void (*rarch_task_handler_t)(rarch_task_t *task);
|
||||
typedef bool (*rarch_task_finder_t)(rarch_task_t *task, void *user_data);
|
||||
|
||||
struct rarch_task {
|
||||
typedef struct
|
||||
{
|
||||
char *source_file;
|
||||
} decompress_task_data_t;
|
||||
|
||||
struct rarch_task
|
||||
{
|
||||
rarch_task_handler_t handler;
|
||||
rarch_task_callback_t callback; /* always called from the main loop */
|
||||
|
||||
@ -154,10 +158,6 @@ int detect_ps1_game(const char *track_path, char *game_id);
|
||||
|
||||
int detect_psp_game(const char *track_path, char *game_id);
|
||||
|
||||
typedef struct {
|
||||
char *source_file;
|
||||
} decompress_task_data_t;
|
||||
|
||||
bool rarch_task_push_decompress(
|
||||
const char *source_file,
|
||||
const char *target_dir,
|
||||
|
Loading…
x
Reference in New Issue
Block a user