Temporarily disabled crash detector to work around Windows issue.
Corrected PPU OAM address latching with the accuracy PPU.
This commit is contained in:
byuu 2019-10-26 23:34:24 +09:00
parent 4f09a3873d
commit f51bc06739
3 changed files with 5 additions and 4 deletions

View File

@ -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 = "112.1"; static const string Version = "112.2";
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";

View File

@ -103,8 +103,8 @@ auto PPU::Object::fetch() -> void {
continue; continue;
} }
ppu.latch.oamAddress = oamItem[i].index; ppu.latch.oamAddress = 0x0200 + (oamItem[i].index >> 2);
const auto& sprite = oam.object[ppu.latch.oamAddress]; const auto& sprite = oam.object[oamItem[i].index];
uint tileWidth = sprite.width() >> 3; uint tileWidth = sprite.width() >> 3;
int x = sprite.x; int x = sprite.x;

View File

@ -44,7 +44,8 @@ auto Program::create() -> void {
stateManager.create(); stateManager.create();
manifestViewer.create(); manifestViewer.create();
if(settings.general.crashed) { //seems to be misfiring on Windows, so disable for now
if(0 && settings.general.crashed) {
MessageDialog( MessageDialog(
"Driver crash detected. Hardware drivers have been disabled.\n" "Driver crash detected. Hardware drivers have been disabled.\n"
"Please reconfigure drivers in the advanced settings panel." "Please reconfigure drivers in the advanced settings panel."