mirror of
https://github.com/zeldaret/ss
synced 2026-05-24 23:21:41 -04:00
26af4db82d
* update from dtk-template and start work towards using clangd * include <a> -> "a" * Update build.yml * remove/add non-trivial class in union warning
37 lines
715 B
C
37 lines
715 B
C
#ifndef RVL_SDK_ESP_H
|
|
#define RVL_SDK_ESP_H
|
|
#include "common.h"
|
|
#include "rvl/ARC.h" // IWYU pragma: export
|
|
#include "rvl/IPC.h" // IWYU pragma: export
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef enum {
|
|
ES_IOCTLV_LAUNCH_TITLE = 8,
|
|
ES_IOCTLV_GET_NUM_TICKET_VIEWS = 18,
|
|
ES_IOCTLV_GET_TICKET_VIEWS = 19,
|
|
ES_IOCTLV_GET_DATA_DIR = 29,
|
|
ES_IOCTLV_GET_TITLE_ID = 32,
|
|
} ESIoctl;
|
|
|
|
typedef struct ESPTicket {
|
|
u8 dummy[0x2A4];
|
|
char padding[0x2C0 - 0x2A4];
|
|
} ESPTicket;
|
|
|
|
typedef struct ESPTmd {
|
|
u8 dummy[0x49E4];
|
|
char padding[0x4A00 - 0x49E4];
|
|
} ESPTmd;
|
|
|
|
s32 ESP_ReadContentFile(UNKWORD, void *, u32);
|
|
s32 ESP_SeekContentFile(UNKWORD, s32, UNKWORD);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|