added undocumented opcode that behaves like DPCL [smf]

This commit is contained in:
smf- 2013-09-10 12:09:18 +00:00
parent 723dae9770
commit 0871d50819
2 changed files with 4 additions and 2 deletions

View File

@ -492,7 +492,7 @@ int gte::docop2( UINT32 pc, int gteop )
switch( GTE_FUNCT( gteop ) )
{
case 0x00:
case 0x00: // drop through to RTPS
case 0x01:
GTELOG( pc, "%08x RTPS", gteop );
@ -792,6 +792,7 @@ int gte::docop2( UINT32 pc, int gteop )
IR3 = Lm_B3( MAC3, lm );
return 1;
case 0x1a: // end of NCDT
case 0x29:
GTELOG( pc, "%08x DPCL", gteop );

View File

@ -497,7 +497,7 @@ unsigned DasmPSXCPU( DasmPSXCPU_state *state, char *buffer, UINT32 pc, const UIN
switch( GTE_FUNCT( op ) )
{
case 0x00:
case 0x00: // drop through to RTPS
case 0x01:
sprintf( buffer, "rtps%s%s", s_gtesf[ GTE_SF( op ) ], s_gtelm[ GTE_LM( op ) ] );
break;
@ -541,6 +541,7 @@ unsigned DasmPSXCPU( DasmPSXCPU_state *state, char *buffer, UINT32 pc, const UIN
case 0x28:
sprintf( buffer, "sqr%s%s", s_gtesf[ GTE_SF( op ) ], s_gtelm[ GTE_LM( op ) ] );
break;
case 0x1a: // end of NCDT
case 0x29:
sprintf( buffer, "dpcl%s%s", s_gtesf[ GTE_SF( op ) ], s_gtelm[ GTE_LM( op ) ] );
break;