diff options
author | 2013-09-10 12:09:18 +0000 | |
---|---|---|
committer | 2013-09-10 12:09:18 +0000 | |
commit | 0871d5081932addafbfd9367bab47b590e1bd6a5 (patch) | |
tree | c26e34b3b9cdb9f91c5e0cc3f0266f44ac0488fc /src/emu/cpu/psx | |
parent | 723dae977026b47a716e226ea172ff20775ddd1a (diff) |
added undocumented opcode that behaves like DPCL [smf]
Diffstat (limited to 'src/emu/cpu/psx')
-rw-r--r-- | src/emu/cpu/psx/gte.c | 3 | ||||
-rw-r--r-- | src/emu/cpu/psx/psxdasm.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/emu/cpu/psx/gte.c b/src/emu/cpu/psx/gte.c index 041db61f1d3..a13c552baa8 100644 --- a/src/emu/cpu/psx/gte.c +++ b/src/emu/cpu/psx/gte.c @@ -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 ); diff --git a/src/emu/cpu/psx/psxdasm.c b/src/emu/cpu/psx/psxdasm.c index 1d25f5b013f..400bb078524 100644 --- a/src/emu/cpu/psx/psxdasm.c +++ b/src/emu/cpu/psx/psxdasm.c @@ -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; |