mirror of
https://github.com/wiiu-env/homebrew_launcher.git
synced 2024-09-29 12:19:08 +02:00
39 lines
804 B
C
39 lines
804 B
C
|
#ifndef __LOADER_DEFS_H_
|
||
|
#define __LOADER_DEFS_H_
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
// struct holding the globals of the loader (there are actually more but we don't need others)
|
||
|
typedef struct _loader_globals_t
|
||
|
{
|
||
|
int sgIsLoadingBuffer;
|
||
|
int sgFileType;
|
||
|
int sgProcId;
|
||
|
int sgGotBytes;
|
||
|
int sgFileOffset;
|
||
|
int sgBufferNumber;
|
||
|
int sgBounceError;
|
||
|
char sgLoadName[0x1000];
|
||
|
} __attribute__((packed)) loader_globals_t;
|
||
|
|
||
|
typedef struct _loader_globals_550_t
|
||
|
{
|
||
|
int sgFinishedLoadingBuffer;
|
||
|
int sgFileType;
|
||
|
int sgProcId;
|
||
|
int sgGotBytes;
|
||
|
int sgTotalBytes;
|
||
|
int sgFileOffset;
|
||
|
int sgBufferNumber;
|
||
|
int sgBounceError;
|
||
|
char sgLoadName[0x1000];
|
||
|
} __attribute__((packed)) loader_globals_550_t;
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif // __LOADER_DEFS_H_
|