diff options
author | 2018-08-07 18:20:15 +0200 | |
---|---|---|
committer | 2018-08-07 18:20:47 +0200 | |
commit | c8342d71185707847804b266e73679cdb6508daf (patch) | |
tree | f66777cd182d86c765ce45345f758e8f443255f5 /src/devices/cpu | |
parent | baa87eda6c7903a3c17053b394a532d652c6c1a7 (diff) |
-cop400, nvram, tlc34076, watchdog: Modern configuration accessors, nw
- i8279, 2608intf, es5503, tms34061, z80scc: devcb3 accessors, nw
- cops, enmirage, gameplan, goupil, gts3, gts3a, itech32, itech8, jr100, jvh, lisa, lwriter: Machine config modernization, nw
Diffstat (limited to 'src/devices/cpu')
-rw-r--r-- | src/devices/cpu/cop400/cop400.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/devices/cpu/cop400/cop400.h b/src/devices/cpu/cop400/cop400.h index 5dbff8a9281..3fa806d2b06 100644 --- a/src/devices/cpu/cop400/cop400.h +++ b/src/devices/cpu/cop400/cop400.h @@ -135,6 +135,13 @@ public: template<class Object> devcb_base &set_write_sk_callback(Object &&cb) { return m_write_sk.set_callback(std::forward<Object>(cb)); } template<class Object> devcb_base &set_read_cko_callback(Object &&cb) { return m_read_cko.set_callback(std::forward<Object>(cb)); } + void set_config(cop400_cki_bond cki, cop400_cko_bond cko, bool has_microbus) + { + set_cki(cki); + set_cko(cko); + set_microbus(has_microbus); + } + void set_cki(cop400_cki_bond cki) { m_cki = cki; } void set_cko(cop400_cko_bond cko) { m_cko = cko; } void set_microbus(bool has_microbus) { m_has_microbus = has_microbus; } |