This commit is contained in:
twinaphex 2016-01-28 09:33:09 +01:00
parent 9046626256
commit dbff4e52bc
2 changed files with 28 additions and 27 deletions

View File

@ -36,6 +36,7 @@
#include "../verbosity.h"
#define MAGIC_LEN 16
#define MAX_TOKEN_LEN 255
struct magic_entry
{

View File

@ -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,