From 7fee0d2d29fb62ade8549b17758c0236ed2538e7 Mon Sep 17 00:00:00 2001 From: Flyinghead Date: Mon, 16 Dec 2024 17:54:02 +0100 Subject: [PATCH] cheat to work around fur fighters hanging Root issue seems to be TCNT0 returning the same value twice, which breaks the game calculation of the game speed/frame rate. Issue #145 --- core/cheats.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/core/cheats.cpp b/core/cheats.cpp index bf43ccbd4..999be2002 100644 --- a/core/cheats.cpp +++ b/core/cheats.cpp @@ -481,6 +481,15 @@ void CheatManager::reset(const std::string& gameId) else if (gameId == "SAMURAI SPIRITS 6" || gameId == "T0002M") { cheats.emplace_back(Cheat::Type::setValue, "fix depth", true, 16, 0x0003e602, 0x0009, true); // nop (shift by 8 bits instead of 10) } + else if (gameId == "T-8107N") { // Fur Fighters (US) + // force logging on to use more cycles + cheats.emplace_back(Cheat::Type::setValue, "enable logging", true, 32, 0x00314248, 1, true); + } + else if (gameId == "T-8113D-50") { // Fur Fighters (EU) + // force logging on to use more cycles + cheats.emplace_back(Cheat::Type::setValue, "enable logging", true, 32, 0x00314228, 1, true); + } + if (cheats.size() > cheatCount) setActive(true); }