mirror of
https://gitlab.com/Nanolx/homebrewfilter.git
synced 2024-11-24 10:09:21 +01:00
make return-to-hbf work with ABHFIX
This commit is contained in:
parent
4622e2fa3a
commit
cb25758f96
@ -1 +1,2 @@
|
||||
void LoadHBF();
|
||||
u8 hbcStubAvailable();
|
||||
|
@ -24,14 +24,13 @@ distribution.
|
||||
|
||||
-------------------------------------------------------------*/
|
||||
|
||||
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <gccore.h>
|
||||
#include <ogc/machine/processor.h>
|
||||
#include "gecko.h"
|
||||
|
||||
#include "Tools/load_channel.h"
|
||||
#include "filelist.h"
|
||||
|
||||
#define CHECK_AHB 0x0D800064
|
||||
#define MEM2_PROT 0x0D8B420A
|
||||
@ -72,6 +71,11 @@ s32 Patch_ahbprot(void)
|
||||
//break;
|
||||
}
|
||||
}
|
||||
|
||||
memcpy((void*)0x80001800, stub_bin, stub_bin_size);
|
||||
DCFlushRange((void*)0x80001800,stub_bin_size);
|
||||
|
||||
hbcStubAvailable();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user