screen: add getter for pixeltime

This commit is contained in:
hap 2020-08-07 20:13:56 +02:00
parent 1e95aea5c2
commit 127bd02dda

View File

@ -398,6 +398,7 @@ public:
attotime time_until_vblank_end() const;
attotime time_until_update() const { return (m_video_attributes & VIDEO_UPDATE_AFTER_VBLANK) ? time_until_vblank_end() : time_until_vblank_start(); }
attotime scan_period() const { return attotime(0, m_scantime); }
attotime pixel_period() const { return attotime(0, m_pixeltime); }
attotime frame_period() const { return attotime(0, m_frame_period); }
u64 frame_number() const { return m_frame_number; }