mirror of
https://github.com/BluestormDNA/ProjectPSX.git
synced 2025-04-02 10:52:34 -04:00
GTE: Remove unneded CPU ref
This commit is contained in:
parent
0efcca7fd3
commit
b1fc62d532
2 changed files with 2 additions and 5 deletions
|
@ -83,8 +83,9 @@ namespace ProjectPSX {
|
||||||
this.bus = bus;
|
this.bus = bus;
|
||||||
bios = new BIOS_Disassembler(bus);
|
bios = new BIOS_Disassembler(bus);
|
||||||
mips = new MIPS_Disassembler(ref HI, ref LO, GPR, COP0_GPR);
|
mips = new MIPS_Disassembler(ref HI, ref LO, GPR, COP0_GPR);
|
||||||
|
gte = new GTE();
|
||||||
|
|
||||||
COP0_GPR[15] = 0x2; //PRID Processor ID
|
COP0_GPR[15] = 0x2; //PRID Processor ID
|
||||||
gte = new GTE(this); //debug
|
|
||||||
|
|
||||||
initOpCodeTable();
|
initOpCodeTable();
|
||||||
}
|
}
|
||||||
|
|
|
@ -86,10 +86,6 @@ namespace ProjectPSX {
|
||||||
private uint MVMVA_T_Vector; //MVMVA Translation Vector (0=TR, 1=BK, 2=FC/Bugged, 3=None)
|
private uint MVMVA_T_Vector; //MVMVA Translation Vector (0=TR, 1=BK, 2=FC/Bugged, 3=None)
|
||||||
private bool lm; //Saturate IR1,IR2,IR3 result (0=To -8000h..+7FFFh, 1=To 0..+7FFFh)
|
private bool lm; //Saturate IR1,IR2,IR3 result (0=To -8000h..+7FFFh, 1=To 0..+7FFFh)
|
||||||
private uint opcode; //GTE opcode
|
private uint opcode; //GTE opcode
|
||||||
private CPU cpu;
|
|
||||||
public GTE(CPU cpu) {//this is only needed for temporary debug purposes till TGTE passes
|
|
||||||
this.cpu = cpu;
|
|
||||||
}
|
|
||||||
|
|
||||||
private void decodeCommand(uint command) {
|
private void decodeCommand(uint command) {
|
||||||
sf = (int)(command & 0x80_000) >> 19;
|
sf = (int)(command & 0x80_000) >> 19;
|
||||||
|
|
Loading…
Add table
Reference in a new issue