added small comment

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2965 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee 2009-04-14 13:13:12 +00:00
parent a77c4f808b
commit 15624cb11c
2 changed files with 3 additions and 1 deletions

View File

@ -225,6 +225,8 @@ const DSPOPCTemplate opcodes[] =
// calculations or something? Or clamp?
// SET15/CLR15 is commonly used around MULXAC in Zeldas.
// SET16 is done around complicated loops with many madds etc.
// It seems SET16 come in all cases found with either CR or IR (almost always with AR3)
// Set40 also comes with CR and AR3, but it's not common enough to see the connection.
{"CLR15", 0x8c00, 0xffff, DSPInterpreter::srbith, nop, 1 | P_EXT, 0, {}, dsp_op_ext_ops_pro, dsp_op_ext_ops_epi},
{"SET15", 0x8d00, 0xffff, DSPInterpreter::srbith, nop, 1 | P_EXT, 0, {}, dsp_op_ext_ops_pro, dsp_op_ext_ops_epi},
{"SET40", 0x8e00, 0xffff, DSPInterpreter::srbith, nop, 1 | P_EXT, 0, {}, dsp_op_ext_ops_pro, dsp_op_ext_ops_epi},

View File

@ -211,7 +211,7 @@ void dsp_op_ext_r_epi(const UDSPInstruction& opc)
switch (op) {
case 0x00: //
//g_dsp.r[reg] = 0;
g_dsp.r[reg] = 0;
break;
case 0x01: // DR