mirror of https://github.com/bsnes-emu/bsnes.git
v114.3
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:
parent
3cc8c589cc
commit
1f4f1223a1
|
@ -29,7 +29,7 @@ using namespace nall;
|
||||||
|
|
||||||
namespace Emulator {
|
namespace Emulator {
|
||||||
static const string Name = "bsnes";
|
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 Author = "byuu";
|
||||||
static const string License = "GPLv3";
|
static const string License = "GPLv3";
|
||||||
static const string Website = "https://byuu.org";
|
static const string Website = "https://byuu.org";
|
||||||
|
|
|
@ -17,12 +17,13 @@ auto PPU::Background::scanline() -> void {
|
||||||
|
|
||||||
opt.hoffset = 0;
|
opt.hoffset = 0;
|
||||||
opt.voffset = 0;
|
opt.voffset = 0;
|
||||||
|
|
||||||
|
pixelCounter = io.hoffset & 7;
|
||||||
}
|
}
|
||||||
|
|
||||||
//H = 56
|
//H = 56
|
||||||
auto PPU::Background::begin() -> void {
|
auto PPU::Background::begin() -> void {
|
||||||
//remove partial tile columns that have been scrolled offscreen
|
//remove partial tile columns that have been scrolled offscreen
|
||||||
pixelCounter = io.hoffset & 7;
|
|
||||||
for(auto& data : tiles[0].data) data >>= pixelCounter << 1;
|
for(auto& data : tiles[0].data) data >>= pixelCounter << 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue