Merge pull request #917 from srg320/master
Saturn: fix the Seek command. SNES: increase the maximum bsram size to 256Kb.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user