mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 06:21:26 +12:00
Implement the mfspr and mtspr instructions.
This commit is contained in:
parent
03b059c1d5
commit
4375422c09
1 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ private:
|
||||||
}
|
}
|
||||||
void MFSPR(u32 rt, u32 sa)
|
void MFSPR(u32 rt, u32 sa)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED(); // not used
|
CPU.GPR[rt].clear(); // All SPRs read as zero.
|
||||||
}
|
}
|
||||||
void RDCH(u32 rt, u32 ra)
|
void RDCH(u32 rt, u32 ra)
|
||||||
{
|
{
|
||||||
|
@ -243,7 +243,7 @@ private:
|
||||||
}
|
}
|
||||||
void MTSPR(u32 rt, u32 sa)
|
void MTSPR(u32 rt, u32 sa)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED(); // not used
|
// SPR writes are ignored.
|
||||||
}
|
}
|
||||||
void WRCH(u32 ra, u32 rt)
|
void WRCH(u32 ra, u32 rt)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue