const void* data

This commit is contained in:
Kermalis
2025-03-09 16:29:02 -04:00
parent 1e2ed281eb
commit 0108e666d8
4 changed files with 21 additions and 21 deletions

View File

@@ -3,10 +3,17 @@
#include "file_system.h"
// size: 0x8
typedef struct SiroArchive
{
/* 0x0 */ u32 magic;
/* 0x4 */ const void *data;
} SiroArchive;
u32 DecompressAT(u8 *dst, s32 dstLen, const u8 *src);
u32 DecompressATFile(void *dst, s32 dstLen, OpenedFile *file);
u32 DecompressATGlobalFile(u32 *result, s32 resultLength, OpenedFile *file);
const u8 *GetSiroPtr(OpenedFile *openedFile);
const void *GetSiroPtr(OpenedFile *openedFile);
void nullsub_16(void);
// Returns FALSE if the ascii chars in both strings match, ignoring uppercase/lowercase differences.

View File

@@ -5,14 +5,14 @@
typedef struct File
{
/* 0x0 */ char *name;
/* 0x4 */ const u8 *data;
/* 0x4 */ const void *data;
} File;
// size: 0x8
typedef struct OpenedFile
{
/* 0x0 */ const File *file;
/* 0x4 */ const u8 *data;
/* 0x4 */ const void *data;
} OpenedFile;
// size: 0x10
@@ -23,13 +23,6 @@ typedef struct FileArchive
/* 0xC */ const File *entries;
} FileArchive;
// size: 0x8
typedef struct SiroArchive
{
/* 0x0 */ u32 magic;
/* 0x4 */ u8 *data;
} SiroArchive;
// size: 0x8
typedef struct UnkFileStruct
{