Skip to content

Commit

Permalink
Finish updating sdk files
Browse files Browse the repository at this point in the history
  • Loading branch information
CelestialAmber committed Sep 6, 2024
1 parent 923e4c3 commit 5f1f9a0
Show file tree
Hide file tree
Showing 11 changed files with 2,426 additions and 2,338 deletions.
2 changes: 2 additions & 0 deletions libs/RVL_SDK/include/revolution/dvd/dvd.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ extern "C" {
#define DVD_DEVICE_CODE_READ (1 << 15)
#define MAKE_DVD_DEVICE_CODE(x) (DVD_DEVICE_CODE_READ | (x))

#define H3_HASH_TABLE_SIZE 0x18000

// Forward declarations
typedef struct DVDCommandBlock;
typedef struct DVDFileInfo;
Expand Down
10 changes: 10 additions & 0 deletions libs/RVL_SDK/include/revolution/esp/esp.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@ typedef u8 ESTicketReserved[48];
typedef u8 ESSysAccessMask[2];
typedef u8 ESCidxMask[64];

typedef enum {
ES_IOCTLV_LAUNCH_TITLE = 8,
ES_IOCTLV_READ_CONTENT_FILE = 10,
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,
ES_IOCTLV_SEEK_CONTENT_FILE = 35,
} ESIoctl;

#pragma pack(push, 4)

typedef struct ESTmdViewHeader {
Expand Down
6 changes: 3 additions & 3 deletions libs/RVL_SDK/include/revolution/exi/EXIBios.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ typedef struct EXIData {
void* buffer; // at 0x14
u32 dev; // at 0x18
u32 id; // at 0x1C
u32 WORD_0x20;
s32 numItems; // at 0x24
EXIItem items[3]; // at 0x28
s32 lastInsert; // at 0x20
s32 numItems; // at 0x24
EXIItem items[3]; // at 0x28
} EXIData;

BOOL EXIImm(EXIChannel chan, void* buf, s32 len, u32 type,
Expand Down
2 changes: 1 addition & 1 deletion libs/RVL_SDK/include/revolution/os/OSReset.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ typedef struct OSShutdownFunctionQueue {
} OSShutdownFunctionQueue;

void OSRegisterShutdownFunction(OSShutdownFunctionInfo* info);
BOOL __OSCallShutdownFunctions(u32 pass, u32 event);
BOOL __OSCallShutdownFunctions(BOOL final, u32 event);
void __OSShutdownDevices(u32 event);
void __OSGetDiscState(u8* out);
void OSShutdownSystem(void);
Expand Down
Loading

0 comments on commit 5f1f9a0

Please sign in to comment.