svga: Print the number and mnemonic of the opcode we're missing information for.

Makes it easier to figure out which opcode it's about.
This commit is contained in:
Michel Dänzer 2011-01-28 16:09:04 +01:00
parent 0b47d59e5b
commit a61b7aa90d

View file

@ -156,6 +156,8 @@ const struct sh_opcode_info *svga_opcode_info( uint op )
if (info->svga_opcode == SVGA3DOP_INVALID) {
/* No valid information. Please provide number of dst/src registers.
*/
_debug_printf("Missing information for opcode %u, '%s'\n", op,
opcode_info[op].mnemonic);
assert( 0 );
return NULL;
}