diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2017-04-21 14:18:58 -0400 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2017-04-21 14:52:36 -0400 |
commit | 9f121349908400b7412e353712147b45ee64dd67 (patch) | |
tree | 30c9a1f4b20e58a491a112aa1332dfb467ee65ce /src/emu/device.h | |
parent | 735ab4f3551840a5c642c2ae719fdd578e9fc154 (diff) |
Mechanism for devices to generate clocks for other devices
- Have set_unscaled_clock and set_clock_scale not call notify_clock_changed unless the device has been started.
- Owner-derived clocks are now updated whenever the owner's clock is changed, including at configuration time. This simplifies the configuration of various NES clones.
- Add clock_update_delegate type to represent device-generated clock outputs that may be dynamically modified. The model implementation of this is the CLK output in I8085A.
Diffstat (limited to 'src/emu/device.h')
-rw-r--r-- | src/emu/device.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emu/device.h b/src/emu/device.h index 6e351f77ca6..b20a545dc46 100644 --- a/src/emu/device.h +++ b/src/emu/device.h @@ -517,6 +517,7 @@ protected: private: // internal helpers device_t *subdevice_slow(const char *tag) const; + void calculate_derived_clock(); // private state; accessor use required running_machine * m_machine; |