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:
notaz 2008-02-06 16:25:58 +00:00
parent 16ebbe9eaa
commit 94fc546caa
3 changed files with 5 additions and 4 deletions

View file

@ -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)