added small comment
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2965 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
a77c4f808b
commit
15624cb11c
|
@ -225,6 +225,8 @@ const DSPOPCTemplate opcodes[] =
|
||||||
// calculations or something? Or clamp?
|
// calculations or something? Or clamp?
|
||||||
// SET15/CLR15 is commonly used around MULXAC in Zeldas.
|
// SET15/CLR15 is commonly used around MULXAC in Zeldas.
|
||||||
// SET16 is done around complicated loops with many madds etc.
|
// 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},
|
{"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},
|
{"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},
|
{"SET40", 0x8e00, 0xffff, DSPInterpreter::srbith, nop, 1 | P_EXT, 0, {}, dsp_op_ext_ops_pro, dsp_op_ext_ops_epi},
|
||||||
|
|
|
@ -211,7 +211,7 @@ void dsp_op_ext_r_epi(const UDSPInstruction& opc)
|
||||||
|
|
||||||
switch (op) {
|
switch (op) {
|
||||||
case 0x00: //
|
case 0x00: //
|
||||||
//g_dsp.r[reg] = 0;
|
g_dsp.r[reg] = 0;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x01: // DR
|
case 0x01: // DR
|
||||||
|
|
Loading…
Reference in New Issue