Update to bsnes v067r05 release.

This will be the final release with the current source structure.

This WIP contains a bugfix so that the last scanline does not fetch
OAM items. This fixes flickering in Ninja Warriors and Lord of the
Rings.
This commit is contained in:
byuu 2010-08-07 11:44:19 +00:00
parent 254a5016e1
commit 9ea739aec1
3 changed files with 4 additions and 4 deletions

BIN
bsnes.exe

Binary file not shown.

View File

@ -16,9 +16,6 @@ void sPPU::Sprite::scanline() {
t.x = 0;
t.y = self.vcounter();
if(t.y == (!self.regs.overscan ? 225 : 240) && self.regs.display_disabled == false) address_reset();
if(t.y > (!self.regs.overscan ? 224 : 239)) return;
t.item_count = 0;
t.tile_count = 0;
@ -26,6 +23,9 @@ void sPPU::Sprite::scanline() {
auto oam_item = t.item[t.active];
auto oam_tile = t.tile[t.active];
if(t.y == (!self.regs.overscan ? 225 : 240) && self.regs.display_disabled == false) address_reset();
if(t.y >= (!self.regs.overscan ? 224 : 239)) return;
memset(oam_item, 0xff, 32); //default to invalid
for(unsigned i = 0; i < 34; i++) oam_tile[i].x = 0xffff; //default to invalid

View File

@ -1,4 +1,4 @@
static const char bsnesVersion[] = "067.04";
static const char bsnesVersion[] = "067.05";
static const char bsnesTitle[] = "bsnes";
static const unsigned bsnesSerializerVersion = 12;