diff options
Diffstat (limited to 'src/devices/machine/ioptimer.h')
-rw-r--r-- | src/devices/machine/ioptimer.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/devices/machine/ioptimer.h b/src/devices/machine/ioptimer.h index dcaaf0a9004..316349e7a90 100644 --- a/src/devices/machine/ioptimer.h +++ b/src/devices/machine/ioptimer.h @@ -9,8 +9,8 @@ * */ -#ifndef DEVICES_MACHINE_IOPTIMER_H -#define DEVICES_MACHINE_IOPTIMER_H +#ifndef MAME_MACHINE_IOPTIMER_H +#define MAME_MACHINE_IOPTIMER_H #pragma once @@ -20,7 +20,7 @@ class iop_timer_device : public device_t { public: - iop_timer_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + iop_timer_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); template <class Object> devcb_base &set_int_cb(Object &&cb) { return m_int_cb.set_callback(std::forward<Object>(cb)); } @@ -50,8 +50,8 @@ protected: GATM_BOTH }; - virtual void device_start() override; - virtual void device_reset() override; + virtual void device_start() override; + virtual void device_reset() override; TIMER_CALLBACK_MEMBER(compare); TIMER_CALLBACK_MEMBER(overflow); @@ -59,10 +59,10 @@ protected: void set_ctrl(uint32_t data); void update_gate(); - void update_interrupts(); + void update_interrupts(); void update_compare_timer(); - void update_overflow_timer(); + void update_overflow_timer(); void update_count(); @@ -71,28 +71,28 @@ protected: uint32_t m_ctrl; - attotime m_last_update_time; - attotime m_elapsed_time; - bool m_zero_return; - uint32_t m_count; - uint32_t m_compare; + attotime m_last_update_time; + attotime m_elapsed_time; + bool m_zero_return; + uint32_t m_count; + uint32_t m_compare; - bool m_gate_enable; - timer_gate_mode m_gate_mode; + bool m_gate_enable; + timer_gate_mode m_gate_mode; - bool m_cmp_int_enabled; - bool m_cmp_int; + bool m_cmp_int_enabled; + bool m_cmp_int; - bool m_ovf_int_enabled; - bool m_ovf_int; + bool m_ovf_int_enabled; + bool m_ovf_int; bool m_repeat_int; bool m_toggle_int; - bool m_ienable; - devcb_write_line m_int_cb; + bool m_ienable; + devcb_write_line m_int_cb; }; DECLARE_DEVICE_TYPE(SONYIOP_TIMER, iop_timer_device) -#endif // DEVICES_MACHINE_IOPTIMER_H
\ No newline at end of file +#endif // MAME_MACHINE_IOPTIMER_H |