mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 07:20:49 +00:00
Replace function in unENDing Bloody Call
This commit is contained in:
parent
80952d5e06
commit
0ab6c544b7
@ -1091,6 +1091,15 @@ static int Hook_atvoffroadfuryprodemo_download_frame() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int Hook_unendingbloodycall_download_frame() {
|
||||
const u32 fb_address = currentMIPS->r[MIPS_REG_T3];
|
||||
if (Memory::IsVRAMAddress(fb_address)) {
|
||||
gpu->PerformMemoryDownload(fb_address, 0x00088000);
|
||||
CBreakPoints::ExecMemCheck(fb_address, true, 0x00088000, currentMIPS->pc);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef ARM
|
||||
#define JITFUNC(f) (&MIPSComp::ArmJit::f)
|
||||
#elif defined(ARM64)
|
||||
@ -1193,6 +1202,7 @@ static const ReplacementTableEntry entries[] = {
|
||||
{ "littlebustersce_download_frame", &Hook_littlebustersce_download_frame, 0, REPFLAG_HOOKENTER, },
|
||||
{ "shinigamitoshoujo_download_frame", &Hook_shinigamitoshoujo_download_frame, 0, REPFLAG_HOOKENTER, 0xBC },
|
||||
{ "atvoffroadfuryprodemo_download_frame", &Hook_atvoffroadfuryprodemo_download_frame, 0, REPFLAG_HOOKENTER, 0x80 },
|
||||
{ "unendingbloodycall_download_frame", &Hook_unendingbloodycall_download_frame, 0, REPFLAG_HOOKENTER, 0x54 },
|
||||
{}
|
||||
};
|
||||
|
||||
|
@ -267,6 +267,7 @@ static const HardHashTableEntry hardcodedHashes[] = {
|
||||
{ 0x6f4e1a1a84df1da0, 68, "dl_write_texmode", },
|
||||
{ 0x6f7c9109b5b8fa47, 688, "danganronpa1_2_download_frame", }, // Danganronpa 1
|
||||
{ 0x70649c7211f6a8da, 16, "fabsf", },
|
||||
{ 0x70a6152b265228e8, 296, "unendingbloodycall_download_frame", }, // unENDing Bloody Call
|
||||
{ 0x7245b74db370ae72, 64, "vmmul_q_transp3", },
|
||||
{ 0x7259d52b21814a5a, 40, "vtfm_t_transp", },
|
||||
{ 0x7354fd206796d817, 864, "flowers_download_frame", }, // Flowers
|
||||
|
Loading…
Reference in New Issue
Block a user