mirror of
https://github.com/wiiu-env/RPXLoadingModule.git
synced 2024-11-17 07:29:17 +01:00
160d5b4f3e
Export functions for accessing files inside a bundle
26 lines
470 B
C
26 lines
470 B
C
#pragma once
|
|
|
|
#include <function_patcher/function_patching.h>
|
|
#include <stdint.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct __attribute((packed)) {
|
|
uint32_t command;
|
|
uint32_t target;
|
|
uint32_t filesize;
|
|
uint32_t fileoffset;
|
|
char path[256];
|
|
} LOAD_REQUEST;
|
|
|
|
extern function_replacement_data_t rpx_utils_function_replacements[];
|
|
extern uint32_t rpx_utils_function_replacements_size;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
|