This commit is contained in:
byuu 2019-10-27 01:27:36 +09:00
parent 819d6dbde4
commit c61c3cabc6
2 changed files with 4 additions and 4 deletions

View File

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

View File

@ -215,7 +215,7 @@ auto PPU::Line::renderMode7HD(PPU::IO::Background& self, uint8 source) -> void {
if(doBelow && (!extbg || pixel.priority > below->priority)) *below = pixel;
}
}
}
}
if(ppu.ss()) {
uint divisor = scale * scale;
@ -228,7 +228,7 @@ auto PPU::Line::renderMode7HD(PPU::IO::Background& self, uint8 source) -> void {
auto below = &this->below[p * scale];
for(uint x : range(scale)) {
uint a = above[x].color;
uint b = below[x].color;
uint b = below[x].color;
ab += a >> 0 & 31;
ag += a >> 5 & 31;
ar += a >> 10 & 31;
@ -238,7 +238,7 @@ auto PPU::Line::renderMode7HD(PPU::IO::Background& self, uint8 source) -> void {
}
}
uint16 aboveColor = ab / divisor << 0 | ag / divisor << 5 | ar / divisor << 10;
uint16 belowColor = bb / divisor << 0 | bg / divisor << 5 | br / divisor << 10;
uint16 belowColor = bb / divisor << 0 | bg / divisor << 5 | br / divisor << 10;
this->above[p] = {source, this->above[p * scale].priority, aboveColor};
this->below[p] = {source, this->below[p * scale].priority, belowColor};
}