mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
DSP - fix ROM loading (seriously, have we only been loading half the ROMs??? doesn't make sense).
Also delete some unused old junk variables. Add some comments. Start #defining SR flag constants. "implement" nx. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2872 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -78,7 +78,7 @@ s8 GetMultiplyModifier()
|
||||
{
|
||||
return(1);
|
||||
}
|
||||
return(2);
|
||||
return 2;
|
||||
}
|
||||
|
||||
|
||||
@ -89,7 +89,6 @@ s8 GetMultiplyModifier()
|
||||
bool CheckCondition(u8 _Condition)
|
||||
{
|
||||
bool taken = false;
|
||||
|
||||
switch (_Condition & 0xf)
|
||||
{
|
||||
case 0x0: //NS - NOT SIGN
|
||||
@ -124,7 +123,7 @@ bool CheckCondition(u8 _Condition)
|
||||
case 0x5: // Z - ZERO
|
||||
|
||||
if (g_dsp.r[R_SR] & 0x04)
|
||||
taken = true;
|
||||
taken = true;
|
||||
break;
|
||||
|
||||
case 0x6: // L - LESS
|
||||
@ -660,9 +659,11 @@ void andc(const UDSPInstruction& opc)
|
||||
|
||||
//-------------------------------------------------------------
|
||||
|
||||
// TODO: Implement
|
||||
void nx(const UDSPInstruction& opc)
|
||||
{}
|
||||
{
|
||||
// This opcode is supposed to do nothing - it's used if you want to use
|
||||
// an opcode extension but not do anything. At least according to duddie.
|
||||
}
|
||||
|
||||
|
||||
// FIXME inside
|
||||
@ -1410,4 +1411,4 @@ void lrs(const UDSPInstruction& opc)
|
||||
g_dsp.r[reg] = dsp_dmem_read(addr);
|
||||
}
|
||||
|
||||
};
|
||||
} // namespace
|
||||
|
Reference in New Issue
Block a user