From 0aea7fd5c53160b8ca8d9e980c9d8cae6b9f5dec Mon Sep 17 00:00:00 2001 From: byuu <2107894+byuu@users.noreply.github.com> Date: Sat, 12 Oct 2019 14:38:09 +0900 Subject: [PATCH] NHL '94 (Japan) scanline override for fast PPU --- bsnes/target-bsnes/program/hacks.cpp | 2 +- bsnes/target-libretro/program.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bsnes/target-bsnes/program/hacks.cpp b/bsnes/target-bsnes/program/hacks.cpp index f64c9a00..e998aadc 100644 --- a/bsnes/target-bsnes/program/hacks.cpp +++ b/bsnes/target-bsnes/program/hacks.cpp @@ -31,7 +31,7 @@ auto Program::hackCompatibility() -> void { if(title == "FIREPOWER 2000") renderCycle = 32; //fixes an errant scanline on the title screen due to writing to PPU registers too late - if(title == "NHL '94") renderCycle = 32; + if(title == "NHL '94" || title == "NHL PROHOCKEY'94") renderCycle = 32; if(settings.emulator.hack.hotfixes) { //this game transfers uninitialized memory into video RAM: this can cause a row of invalid tiles diff --git a/bsnes/target-libretro/program.cpp b/bsnes/target-libretro/program.cpp index 35ce4ae2..f1ffa563 100644 --- a/bsnes/target-libretro/program.cpp +++ b/bsnes/target-libretro/program.cpp @@ -150,7 +150,7 @@ auto Program::load() -> void { if(title == "FIREPOWER 2000") emulator->configure("Hacks/PPU/RenderCycle", 32); //fixes an errant scanline on the title screen due to writing to PPU registers too late - if(title == "NHL '94") emulator->configure("Hacks/PPU/RenderCycle", 32); + if(title == "NHL '94" || title == "NHL PROHOCKEY'94") emulator->configure("Hacks/PPU/RenderCycle", 32); if (emulator->configuration("Hacks/Hotfixes")) { if (title == "The Hurricanes") emulator->configure("Hacks/Entropy", "None");