mirror of
https://github.com/holub/mame
synced 2025-04-24 01:11:11 +03:00
Switch -> if. (nw)
This commit is contained in:
parent
c6e8508bcc
commit
380f9931ca
@ -540,10 +540,10 @@ void dsp16_device::execute_one(const UINT16& op, UINT8& cycles, UINT8& pcAdvance
|
||||
const UINT8 CON = (op & 0x001f);
|
||||
bool conditionFulfilled = conditionTest(CON);
|
||||
cycles = 3; // TODO: This may need to interact with the next opcode to make sure it doesn't exceed 3?
|
||||
switch (conditionFulfilled)
|
||||
pcAdvance = 1;
|
||||
if (!conditionFulfilled)
|
||||
{
|
||||
case true: pcAdvance = 1; break;
|
||||
case false: pcAdvance = 2; break;
|
||||
pcAdvance = 2;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user