src/emu/diexec.h
| r12061 | r12062 | |
| 47 | 47 | #define __DIEXEC_H__ |
| 48 | 48 | |
| 49 | 49 | |
| 50 | // set to 1 to execute on cothread instead of directly |
| 51 | #define USE_COTHREADS 0 |
| 52 | |
| 53 | |
| 50 | 54 | //************************************************************************** |
| 51 | 55 | // CONSTANTS |
| 52 | 56 | //************************************************************************** |
| r12061 | r12062 | |
| 199 | 203 | UINT64 total_cycles() const; |
| 200 | 204 | |
| 201 | 205 | // required operation overrides |
| 206 | #if USE_COTHREADS |
| 202 | 207 | void run() { m_cothread.make_active(); } |
| 208 | #else |
| 209 | void run() { execute_run(); } |
| 210 | #endif |
| 203 | 211 | |
| 204 | 212 | protected: |
| 205 | 213 | // internal helpers |