mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
Turn task_patch.c into separately compiled file
This commit is contained in:
parent
8a989b65ee
commit
481f31fe8f
@ -170,6 +170,7 @@ OBJ += frontend/frontend_driver.o \
|
||||
intl/msg_hash_us.o \
|
||||
$(LIBRETRO_COMM_DIR)/queues/task_queue.o \
|
||||
tasks/task_content.o \
|
||||
tasks/task_patch.o \
|
||||
tasks/task_save.o \
|
||||
tasks/task_file_transfer.o \
|
||||
tasks/task_image.o \
|
||||
|
@ -1204,6 +1204,7 @@ DATA RUNLOOP
|
||||
============================================================ */
|
||||
#include "../tasks/task_powerstate.c"
|
||||
#include "../tasks/task_content.c"
|
||||
#include "../tasks/task_patch.c"
|
||||
#include "../tasks/task_save.c"
|
||||
#include "../tasks/task_image.c"
|
||||
#include "../tasks/task_file_transfer.c"
|
||||
|
@ -109,8 +109,6 @@
|
||||
|
||||
#include "../discord/discord.h"
|
||||
|
||||
#include "task_patch.c"
|
||||
|
||||
extern bool discord_is_inited;
|
||||
|
||||
#define MAX_ARGS 32
|
||||
|
@ -722,7 +722,7 @@ static bool try_ips_patch(bool allow_ips,
|
||||
* Apply patch to the content file in-memory.
|
||||
*
|
||||
**/
|
||||
static bool patch_content(
|
||||
bool patch_content(
|
||||
bool is_ips_pref,
|
||||
bool is_bps_pref,
|
||||
bool is_ups_pref,
|
||||
|
@ -136,6 +136,16 @@ bool task_push_overlay_load_default(
|
||||
void *user_data);
|
||||
#endif
|
||||
|
||||
bool patch_content(
|
||||
bool is_ips_pref,
|
||||
bool is_bps_pref,
|
||||
bool is_ups_pref,
|
||||
const char *name_ips,
|
||||
const char *name_bps,
|
||||
const char *name_ups,
|
||||
uint8_t **buf,
|
||||
void *data);
|
||||
|
||||
bool task_check_decompress(const char *source_file);
|
||||
|
||||
void *task_push_decompress(
|
||||
|
Loading…
x
Reference in New Issue
Block a user