Fix handling of VRSAVE, and remove references to nonexistent USPRG registers.

This commit is contained in:
Andrew Church 2015-01-18 07:01:52 +09:00
parent e47d21024c
commit ee508f85b4
5 changed files with 23 additions and 32 deletions

View file

@ -43,7 +43,6 @@ void PPUThread::DoReset()
memset(FPR, 0, sizeof(FPR));
memset(GPR, 0, sizeof(GPR));
memset(SPRG, 0, sizeof(SPRG));
memset(USPRG, 0, sizeof(USPRG));
CR.CR = 0;
LR = 0;
@ -52,6 +51,7 @@ void PPUThread::DoReset()
XER.XER = 0;
FPSCR.FPSCR = 0;
VSCR.VSCR = 0;
VRSAVE = 0;
cycle = 0;
}