From 81ec625d0abc3570285612492ad4d8ba2a32fb99 Mon Sep 17 00:00:00 2001 From: daniel229 Date: Thu, 11 Sep 2014 12:01:58 +0800 Subject: [PATCH] Update the hook for Kirameki School Life SP --- Core/HLE/ReplaceTables.cpp | 2 +- Core/MIPS/MIPSAnalyst.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/HLE/ReplaceTables.cpp b/Core/HLE/ReplaceTables.cpp index 61f41ffb3b..71ab60e56b 100644 --- a/Core/HLE/ReplaceTables.cpp +++ b/Core/HLE/ReplaceTables.cpp @@ -684,7 +684,7 @@ static const ReplacementTableEntry entries[] = { { "growlanser_create_saveicon", &Hook_growlanser_create_saveicon, 0, REPFLAG_HOOKENTER, 0x7C }, { "sd_gundam_g_generation_download_frame", &Hook_sd_gundam_g_generation_download_frame, 0, REPFLAG_HOOKENTER, 0x48}, { "narisokonai_download_frame", &Hook_narisokonai_download_frame, 0, REPFLAG_HOOKENTER, 0x14 }, - { "kirameki_school_life_download_frame", &Hook_kirameki_school_life_download_frame, 0, REPFLAG_HOOKENTER, }, + { "kirameki_school_life_download_frame", &Hook_kirameki_school_life_download_frame, 0, REPFLAG_HOOKENTER, 0x304 }, {} }; diff --git a/Core/MIPS/MIPSAnalyst.cpp b/Core/MIPS/MIPSAnalyst.cpp index 81e803dc16..b2f468fccc 100644 --- a/Core/MIPS/MIPSAnalyst.cpp +++ b/Core/MIPS/MIPSAnalyst.cpp @@ -269,7 +269,6 @@ static const HardHashTableEntry hardcodedHashes[] = { { 0x87fe3f7e621ddebb, 212, "memcpy", }, { 0x891ca854e1c664e9, 2392, "qsort", }, { 0x8965d4b004adad28, 420, "log10f", }, - { 0x8986c3bffe0def77, 88, "kirameki_school_life_download_frame", }, // Kirameki School Life SP { 0x89e1858ba11b84e4, 52, "memset", }, { 0x8a00e7207e7dbc81, 232, "_exit", }, { 0x8a1f9daadecbaf7f, 104, "vmmul_q_transp", }, @@ -345,6 +344,7 @@ static const HardHashTableEntry hardcodedHashes[] = { { 0xbe773f78afd1a70f, 128, "rand", }, { 0xbf5d02ccb8514881, 108, "strcmp", }, { 0xbf791954ebef4afb, 396, "expf", }, + { 0xc062f2545ef5dc39, 1076, "kirameki_school_life_download_frame", },// Kirameki School Life SP,and Boku wa Tomodati ga Sukunai { 0xc0feb88cc04a1dc7, 48, "vector_negate_t", }, { 0xc1f34599d0b9146b, 116, "__subdf3", }, { 0xc3089f66ee6f0a24, 464, "growlanser_create_saveicon", }, // Growlanswer IV