From 5e23bfe6f314590391cfac88b0cdeea32ceb9147 Mon Sep 17 00:00:00 2001 From: Sergiy Dvodnenko Date: Thu, 12 Sep 2024 11:26:45 +0300 Subject: [PATCH 1/2] Saturn: fix the Seek command (Die Hard Arcade) --- support/saturn/saturncdd.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/support/saturn/saturncdd.cpp b/support/saturn/saturncdd.cpp index 7fa1258..ccbdc2d 100644 --- a/support/saturn/saturncdd.cpp +++ b/support/saturn/saturncdd.cpp @@ -604,6 +604,7 @@ void satcdd_t::CommandExec() { case SATURN_COMM_SEEK: this->seek_lba = fad - 150; + this->lba = fad - 150; this->track = this->toc.GetTrackByLBA(this->seek_lba); this->index = this->toc.GetIndexByLBA(this->track, this->seek_lba); From d1fe487a484459974d835d2ebf7b1a359307376e Mon Sep 17 00:00:00 2001 From: Sergiy Dvodnenko Date: Thu, 12 Sep 2024 11:31:32 +0300 Subject: [PATCH 2/2] SNES: increase the maximum bsram size to 256Kb --- support/snes/snes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/snes/snes.cpp b/support/snes/snes.cpp index 2c40355..7939e31 100644 --- a/support/snes/snes.cpp +++ b/support/snes/snes.cpp @@ -156,7 +156,7 @@ uint8_t* snes_get_header(fileTYPE *f) if (addr) { uint8_t ramsz = buf[addr + RamSize]; - if (ramsz >= 0x08) ramsz = 0; + if (ramsz >= 0x09) ramsz = 0; //re-calc rom size uint8_t romsz = 15;