mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-14 13:59:24 +00:00
Replace frame download in Kokoro Connect Yochi Random
This commit is contained in:
parent
f288cd04a9
commit
be8f9f50e4
@ -855,6 +855,15 @@ static int Hook_grisaianokajitsu_download_frame() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int Hook_kokoroconnect_download_frame() {
|
||||
const u32 fb_address = currentMIPS->r[MIPS_REG_A3];
|
||||
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)
|
||||
@ -934,6 +943,7 @@ static const ReplacementTableEntry entries[] = {
|
||||
{ "kumonohatateni_download_frame", &Hook_kumonohatateni_download_frame, 0, REPFLAG_HOOKENTER, 0x6C },
|
||||
{ "otomenoheihou_download_frame", &Hook_otomenoheihou_download_frame, 0, REPFLAG_HOOKENTER, 0x14 },
|
||||
{ "grisaianokajitsu_download_frame", &Hook_grisaianokajitsu_download_frame, 0, REPFLAG_HOOKENTER, 0x14 },
|
||||
{ "kokoroconnect_download_frame", &Hook_kokoroconnect_download_frame, 0, REPFLAG_HOOKENTER, 0x60 },
|
||||
{}
|
||||
};
|
||||
|
||||
|
@ -118,6 +118,7 @@ static const HardHashTableEntry hardcodedHashes[] = {
|
||||
{ 0x16965ca11a4e7dac, 104, "vmmul_q_transp", },
|
||||
{ 0x16afe830a5dd2de2, 40, "vdiv_q", },
|
||||
{ 0x184e834a63a79016, 32, "isnanf", },
|
||||
{ 0x1874ee898c7b9f16, 512, "kokoroconnect_download_frame", }, // Kokoro Connect Yochi Random
|
||||
{ 0x189212bda9c94df1, 736, "atanf", },
|
||||
{ 0x199821ce500ef9d2, 24, "vocp_t", },
|
||||
{ 0x1a3c8e9d637ed421, 104, "__adddf3", },
|
||||
|
Loading…
x
Reference in New Issue
Block a user