mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-14 13:59:24 +00:00
Another replace frame download in To Heart 2 Portable
This commit is contained in:
parent
01ff8709da
commit
c59ad888a1
@ -873,6 +873,15 @@ static int Hook_toheart2_download_frame() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int Hook_toheart2_download_frame_2() {
|
||||
const u32 fb_address = currentMIPS->r[MIPS_REG_A0];
|
||||
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(_M_X64) || defined(_M_IX86)
|
||||
@ -954,6 +963,7 @@ static const ReplacementTableEntry entries[] = {
|
||||
{ "grisaianokajitsu_download_frame", &Hook_grisaianokajitsu_download_frame, 0, REPFLAG_HOOKENTER, 0x14 },
|
||||
{ "kokoroconnect_download_frame", &Hook_kokoroconnect_download_frame, 0, REPFLAG_HOOKENTER, 0x60 },
|
||||
{ "toheart2_download_frame", &Hook_toheart2_download_frame, 0, REPFLAG_HOOKENTER, },
|
||||
{ "toheart2_download_frame_2", &Hook_toheart2_download_frame_2, 0, REPFLAG_HOOKENTER, 0x18 },
|
||||
{}
|
||||
};
|
||||
|
||||
|
@ -262,6 +262,7 @@ static const HardHashTableEntry hardcodedHashes[] = {
|
||||
{ 0x736b34ebc702d873, 104, "vmmul_q_transp", },
|
||||
{ 0x73a614c08f777d52, 792, "danganronpa2_2_download_frame", }, // Danganronpa 2
|
||||
{ 0x7499a2ce8b60d801, 12, "abs", },
|
||||
{ 0x74c77fb521740cd2, 284, "toheart2_download_frame_2", }, // To Heart 2 Portable
|
||||
{ 0x74ebbe7d341463f3, 72, "dl_write_colortest", },
|
||||
{ 0x755a41f9183bb89a, 60, "vmmul_q", },
|
||||
{ 0x757d7ab0afbc03f5, 948, "kirameki_school_life_download_frame", }, // Toradora! Portable
|
||||
|
Loading…
x
Reference in New Issue
Block a user