| 4473 | } |
| 4474 | |
| 4475 | void fxCheckMetering(txMachine* the) |
| 4476 | { |
| 4477 | txU8 interval = the->meterInterval; |
| 4478 | the->meterInterval = 0; |
| 4479 | if ((*the->meterCallback)(the, the->meterIndex >> 16)) { |
| 4480 | the->meterCount = the->meterIndex + interval; |
| 4481 | if (the->meterCount < the->meterIndex) { |
| 4482 | the->meterIndex = 0; |
| 4483 | the->meterCount = interval; |
| 4484 | } |
| 4485 | the->meterInterval = interval; |
| 4486 | } |
| 4487 | else { |
| 4488 | fxAbort(the, XS_TOO_MUCH_COMPUTATION_EXIT); |
| 4489 | } |
| 4490 | } |
| 4491 | #endif |
| 4492 | |
| 4493 | void fxRunArguments(txMachine* the, txIndex offset) |
no test coverage detected