| Previous | 199869 Revisions | Next |
| r20303 Thursday 17th January, 2013 at 17:12:17 UTC by Andrew Gardner |
|---|
| Switch -> if. (nw) |
| [src/emu/cpu/dsp16] | dsp16ops.c |
| r20302 | r20303 | |
|---|---|---|
| 540 | 540 | const UINT8 CON = (op & 0x001f); |
| 541 | 541 | bool conditionFulfilled = conditionTest(CON); |
| 542 | 542 | cycles = 3; // TODO: This may need to interact with the next opcode to make sure it doesn't exceed 3? |
| 543 | switch (conditionFulfilled) | |
| 543 | pcAdvance = 1; | |
| 544 | if (!conditionFulfilled) | |
| 544 | 545 | { |
| 545 | case true: pcAdvance = 1; break; | |
| 546 | case false: pcAdvance = 2; break; | |
| 546 | pcAdvance = 2; | |
| 547 | 547 | } |
| 548 | 548 | break; |
| 549 | 549 | } |
| Previous | 199869 Revisions | Next |