public CpuThreadState(CpuProcessor Processor)
{
this.CpuProcessor = Processor;
this.MethodCache = Processor.MethodCache;
//this.Memory = Processor.Memory;
GPR = new GprList() { CpuThreadState = this };
FPR = new FprList() { CpuThreadState = this };
C0R = new C0rList() { CpuThreadState = this };
FPR_I = new FprListInteger() { CpuThreadState = this };
Vfpr = new VfprList() { CpuThreadState = this };
for (int n = 0; n < 32; n++)
{
GPR[n] = 0;
FPR[n] = 0.0f;
}
VFR_CC_7 = VFR_CC_6 = VFR_CC_5 = VFR_CC_4 = VFR_CC_3 = VFR_CC_2 = VFR_CC_1 = VFR_CC_0 = true;
for (int n = 0; n < 128; n++)
{
Vfpr[n] = 0.0f;
}
}