mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
SVP Tasco's PMC fix
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@351 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
16ebbe9eaa
commit
94fc546caa
3 changed files with 5 additions and 4 deletions
|
@ -653,10 +653,11 @@ static u32 read_PMC(void)
|
|||
// elprintf(EL_ANOMALY|EL_SVP, "prev PMC not used @ %04x", GET_PPC_OFFS());
|
||||
ssp->emu_status |= SSP_PMC_SET;
|
||||
ssp->emu_status &= ~SSP_PMC_HAVE_ADDR;
|
||||
return ((rPMC.h << 4) & 0xfff0) | ((rPMC.h >> 4) & 0xf);
|
||||
} else {
|
||||
ssp->emu_status |= SSP_PMC_HAVE_ADDR;
|
||||
return rPMC.h;
|
||||
}
|
||||
return rPMC.h;
|
||||
}
|
||||
|
||||
static void write_PMC(u32 d)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue