mirror of https://github.com/red-prig/fpPS4.git
Fix SMRD parse
This commit is contained in:
parent
fe4291863c
commit
0f23d6f2c0
|
@ -1227,7 +1227,7 @@ SOP1 32+
|
||||||
SOPC 32+
|
SOPC 32+
|
||||||
SOPP 32
|
SOPP 32
|
||||||
|
|
||||||
SMRD 32
|
SMRD 32+
|
||||||
|
|
||||||
VOP2 32+
|
VOP2 32+
|
||||||
VOP1 32+
|
VOP1 32+
|
||||||
|
@ -1412,7 +1412,8 @@ begin
|
||||||
T:=H and LAST_5BIT;
|
T:=H and LAST_5BIT;
|
||||||
if (T=DW_SMRD) then //5
|
if (T=DW_SMRD) then //5
|
||||||
begin
|
begin
|
||||||
pack4(TSMRD(H).OP);
|
if (TSMRD(H).IMM=0) and
|
||||||
|
(TSMRD(H).OFFSET=$FF) then pack8(TSMRD(H).OP) else pack4(TSMRD(H).OP);
|
||||||
end else
|
end else
|
||||||
begin
|
begin
|
||||||
T:=H and LAST_4BIT;
|
T:=H and LAST_4BIT;
|
||||||
|
@ -1946,8 +1947,8 @@ begin
|
||||||
|
|
||||||
With SPI.SMRD do
|
With SPI.SMRD do
|
||||||
Case IMM of
|
Case IMM of
|
||||||
0:Write('s[',OFFSET,']');
|
0:_print_ssrc8(OFFSET,SPI.INLINE32);
|
||||||
1:Write(OFFSET);
|
1:Write('0x',HexStr(OFFSET,2));
|
||||||
end;
|
end;
|
||||||
|
|
||||||
Writeln;
|
Writeln;
|
||||||
|
|
Loading…
Reference in New Issue