Dot PPU: latch fine BG Hscroll at H=0 instead of H=56
(fixes minor scanline issues in Full Throttle Racing scoring screen)
(note: exact latch position is not currently known)
This commit is contained in:
byuu 2020-01-17 09:09:01 +09:00
parent 3cc8c589cc
commit 1f4f1223a1
2 changed files with 3 additions and 2 deletions

View File

@ -29,7 +29,7 @@ using namespace nall;
namespace Emulator {
static const string Name = "bsnes";
static const string Version = "114.2";
static const string Version = "114.3";
static const string Author = "byuu";
static const string License = "GPLv3";
static const string Website = "https://byuu.org";

View File

@ -17,12 +17,13 @@ auto PPU::Background::scanline() -> void {
opt.hoffset = 0;
opt.voffset = 0;
pixelCounter = io.hoffset & 7;
}
//H = 56
auto PPU::Background::begin() -> void {
//remove partial tile columns that have been scrolled offscreen
pixelCounter = io.hoffset & 7;
for(auto& data : tiles[0].data) data >>= pixelCounter << 1;
}