Skip to content

Commit

Permalink
cheat to work around fur fighters hanging
Browse files Browse the repository at this point in the history
Root issue seems to be TCNT0 returning the same value twice, which
breaks the game calculation of the game speed/frame rate.
Issue #145
  • Loading branch information
flyinghead committed Dec 16, 2024
1 parent dfd4dbe commit 7fee0d2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions core/cheats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 7fee0d2

Please sign in to comment.