NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
esp.h
1#ifndef RVL_SDK_ESP_H
2#define RVL_SDK_ESP_H
3#include <revolution/ARC.h>
4#include <revolution/IPC.h>
5#include <types.h>
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10typedef enum {
11 ES_IOCTLV_LAUNCH_TITLE = 8,
12 ES_IOCTLV_READ_CONTENT_FILE = 10,
13 ES_IOCTLV_GET_NUM_TICKET_VIEWS = 18,
14 ES_IOCTLV_GET_TICKET_VIEWS = 19,
15 ES_IOCTLV_GET_DATA_DIR = 29,
16 ES_IOCTLV_GET_TITLE_ID = 32,
17 ES_IOCTLV_SEEK_CONTENT_FILE = 35,
18} ESIoctl;
19
20typedef struct ESPTicket {
21 u8 dummy[0x2A4];
22} ESPTicket;
23
24typedef struct ESPTmd {
25 u8 dummy[0x49E4];
26} ESPTmd;
27
28s32 ESP_ReadContentFile(s32 fd, void* dst, u32 len);
29s32 ESP_SeekContentFile(s32 fd, s32 offset, s32 origin);
30
31#ifdef __cplusplus
32}
33#endif
34#endif
Definition esp.h:24