diff options
| author | 2011-06-25 20:22:02 +0000 | |
|---|---|---|
| committer | 2011-06-25 20:22:02 +0000 | |
| commit | ca4576c67657639b51fc6760edcf31e891a9405c (patch) | |
| tree | b29af62e68e21650c4bc8ccd1880189cb1c5a7cc /src | |
| parent | 90a5e21441e19d28d0a6dd86c4eb4611bce90b1a (diff) | |
Put cothread usage behind a compile-time define, off for now.
Note that the cothreads are still created and exist but they
are never switched to when this is off.
Diffstat (limited to 'src')
| -rw-r--r-- | src/emu/diexec.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/emu/diexec.h b/src/emu/diexec.h index 148fee6f0c8..55fb022f973 100644 --- a/src/emu/diexec.h +++ b/src/emu/diexec.h @@ -47,6 +47,10 @@ #define __DIEXEC_H__ +// set to 1 to execute on cothread instead of directly +#define USE_COTHREADS 0 + + //************************************************************************** // CONSTANTS //************************************************************************** @@ -199,7 +203,11 @@ public: UINT64 total_cycles() const; // required operation overrides +#if USE_COTHREADS void run() { m_cothread.make_active(); } +#else + void run() { execute_run(); } +#endif protected: // internal helpers |
