Skip to content

Commit

Permalink
v114.6
Browse files Browse the repository at this point in the history
Fixed accuracy PPU rendering issue affecting Secret of Mana
  • Loading branch information
byuu committed Feb 26, 2020
1 parent 64d20a0 commit 5296176
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ Links

- [Official website](https://byuu.org/bsnes)
- [Official git repository](https://github.com/byuu/bsnes)
- [Developer resources](https://byuu.net)
- [Donations](https://patreon.com/byuu)

Release Builds
Expand Down
2 changes: 1 addition & 1 deletion bsnes/emulator/emulator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ using namespace nall;

namespace Emulator {
static const string Name = "bsnes";
static const string Version = "114.5";
static const string Version = "114.6";
static const string Copyright = "byuu";
static const string License = "GPLv3";
static const string Website = "https://byuu.org";
Expand Down
2 changes: 1 addition & 1 deletion bsnes/sfc/ppu-fast/object.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ auto PPU::readObject(uint10 address) -> uint8 {
uint n = address >> 2; //object#
address &= 3;
if(address == 0) return objects[n].x;
if(address == 1) return objects[n].y - 1;
if(address == 1) return objects[n].y - 1; //-1 => rendering happens one scanline late
if(address == 2) return objects[n].character;
return (
objects[n].nameselect << 0
Expand Down
2 changes: 1 addition & 1 deletion bsnes/sfc/ppu/background.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ auto PPU::Background::scanline() -> void {
mosaic.hoffset = 0;

renderingIndex = 0;
pixelCounter = io.hoffset & 7;
pixelCounter = (io.hoffset & 7) << hires();

opt.hoffset = 0;
opt.voffset = 0;
Expand Down

0 comments on commit 5296176

Please sign in to comment.