mirror of
https://github.com/mitch030504/Wiicompiled_VR_Frame.git
synced 2026-10-06 07:00:30 +02:00
init
This commit is contained in:
commit
ec226e8348
1099 files changed
+400981
No files matched your search
@@ -0,0 +1,35 @@
|
||||
#ifndef _DOLPHIN_OSEXEC_H_
|
||||
#define _DOLPHIN_OSEXEC_H_
|
||||
|
||||
#include <dolphin/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct {
|
||||
BOOL valid;
|
||||
u32 restartCode;
|
||||
u32 bootDol;
|
||||
void* regionStart;
|
||||
void* regionEnd;
|
||||
int argsUseDefault;
|
||||
void* argsAddr;
|
||||
} OSExecParams;
|
||||
|
||||
typedef int (*appGetNextCallback)(void*, u32*, u32*);
|
||||
typedef void (*appInitCallback)(void (*)(char*));
|
||||
typedef void* (*appGetEntryCallback)();
|
||||
typedef void (*AppLoaderCallback)(appInitCallback*, appGetNextCallback*, appGetEntryCallback*);
|
||||
|
||||
OSExecParams* __OSExecParams AT_ADDRESS(0x800030F0);
|
||||
s32 __OSAppLoaderOffset AT_ADDRESS(0x800030F4);
|
||||
|
||||
void OSExecv(const char* dolfile, const char** argv);
|
||||
void OSExecl(const char* dolfile, const char* arg0, ...);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user