summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/pwm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/pwm.h')
-rw-r--r--src/devices/video/pwm.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/devices/video/pwm.h b/src/devices/video/pwm.h
index dca3d76a29a..4fba10e00d4 100644
--- a/src/devices/video/pwm.h
+++ b/src/devices/video/pwm.h
@@ -59,6 +59,8 @@ protected:
// device-level overrides
virtual void device_start() override;
virtual void device_reset() override;
+ virtual void device_pre_save() override;
+ virtual void device_post_load() override;
private:
output_finder<0x40, 0x40> m_out_x;
@@ -86,8 +88,10 @@ private:
u64 m_rowdata_prev[0x40];
double m_bri[0x40][0x41];
- attotime m_acc[0x40][0x41];
attotime m_update_time;
+ attotime m_acc[0x40][0x41];
+ attoseconds_t m_acc_attos[0x40][0x41];
+ seconds_t m_acc_secs[0x40][0x41];
emu_timer *m_frame_timer;
TIMER_CALLBACK_MEMBER(frame_tick);