| 1493 | } |
| 1494 | |
| 1495 | DecodedOp* common_getNextOp(CPU* cpu) { |
| 1496 | if (cpu->thread->terminating) { |
| 1497 | return nullptr; |
| 1498 | } |
| 1499 | return cpu->getNextOp(); |
| 1500 | } |
| 1501 | |
| 1502 | U32 common_readCrx(CPU* cpu, U32 which, U32 reg) { |
| 1503 | return cpu->readCrx(which, reg); |