mirror of
https://github.com/holub/mame
synced 2025-06-07 13:23:50 +03:00
screen: add getter for pixeltime
This commit is contained in:
parent
1e95aea5c2
commit
127bd02dda
@ -398,6 +398,7 @@ public:
|
|||||||
attotime time_until_vblank_end() const;
|
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 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 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); }
|
attotime frame_period() const { return attotime(0, m_frame_period); }
|
||||||
u64 frame_number() const { return m_frame_number; }
|
u64 frame_number() const { return m_frame_number; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user