mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-20 15:01:33 +02:00
.
This commit is contained in:
@@ -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";
|
||||
|
@@ -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};
|
||||
}
|
||||
|
Reference in New Issue
Block a user