1
0
Fork 0

Fixed formatting issues

This commit is contained in:
JoshuaMK 2020-04-14 16:02:48 -05:00 committed by GitHub
parent f28fc629a0
commit e3e686afd3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,10 +13,10 @@ enum { FALSE, TRUE };
enum { NULL };
struct Info {
u32 allocsize;
u32 _loaderSize;
u32 _loaderFullSize;
struct CodeList* _codelistPointer;
u32 allocsize;
u32 _loaderSize;
u32 _loaderFullSize;
struct CodeList* _codelistPointer;
u32 _wiiVIHook[4];
u32 _gcnVIHook[8];
};
@ -150,10 +150,10 @@ void initMods(struct DiscInfo* baseAddress) {
}
int main() {
struct DiscInfo* baseAddress = (struct DiscInfo*)0x80000000;
if (baseAddress->mWiiMagic || baseAddress->mGCNMagic) {
initMods(baseAddress);
(*_codeHandler)(); //Call codehandler
}
struct DiscInfo* baseAddress = (struct DiscInfo*)0x80000000;
if (baseAddress->mWiiMagic || baseAddress->mGCNMagic) {
initMods(baseAddress);
(*_codeHandler)(); //Call codehandler
}
(*_init_registers)(); //Call game entry "_init_registers"
}