mirror of https://github.com/PCSX2/pcsx2.git
PGIF/PS1: Correct PGIF Register bit masks (#3791)
This commit is contained in:
parent
1ea573dc54
commit
981cb4c22c
|
@ -392,13 +392,13 @@ u32 immRespHndl(u32 cmd, u32 data)
|
||||||
case 0x01:
|
case 0x01:
|
||||||
break; //Returns Nothing (old value in GPUREAD remains unchanged)
|
break; //Returns Nothing (old value in GPUREAD remains unchanged)
|
||||||
case 0x02:
|
case 0x02:
|
||||||
data = pgif1reg & 0x001FFFFF;
|
data = pgif1reg & 0x000FFFFF;
|
||||||
break; //Read Texture Window setting ;GP0(E2h) ;20bit/MSBs=Nothing
|
break; //Read Texture Window setting ;GP0(E2h) ;20bit/MSBs=Nothing
|
||||||
case 0x03:
|
case 0x03:
|
||||||
data = pgif2reg & 0x001FFFFF;
|
data = pgif2reg & 0x000FFFFF;
|
||||||
break; //Read Draw area top left ;GP0(E3h) ;20bit/MSBs=Nothing
|
break; //Read Draw area top left ;GP0(E3h) ;20bit/MSBs=Nothing
|
||||||
case 0x04:
|
case 0x04:
|
||||||
data = pgif3reg & 0x001FFFFF;
|
data = pgif3reg & 0x000FFFFF;
|
||||||
break; //Read Draw area bottom right ;GP0(E4h) ;20bit/MSBs=Nothing
|
break; //Read Draw area bottom right ;GP0(E4h) ;20bit/MSBs=Nothing
|
||||||
case 0x05:
|
case 0x05:
|
||||||
data = pgif4reg & 0x003FFFFF;
|
data = pgif4reg & 0x003FFFFF;
|
||||||
|
|
Loading…
Reference in New Issue