diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2018-08-21 09:04:09 -0400 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2018-08-21 09:04:09 -0400 |
commit | b3e306b985c98019687f46fb08cd4f999ec751f7 (patch) | |
tree | f24ea3b993f6486db005634b84856ccc90346e71 /src/emu/screen.h | |
parent | afdcf4dcec6e38611f4266ae78a612025d1cdc05 (diff) |
divideo: Fetch screen to be potentially configured during device_config_complete (nw)
- Allow device finder to be used as an argument for set_screen (nw)
screen: Calculate physical aspect ratio whenever required, not in device_config_complete, since the renderer caches the result anyway (nw)
cdp1861, cdp1864: Eliminate the "magic reference" constructors, doing their work in device_config_complete instead (nw)
Diffstat (limited to 'src/emu/screen.h')
-rw-r--r-- | src/emu/screen.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/screen.h b/src/emu/screen.h index 45374fef1e7..2b72a2691ac 100644 --- a/src/emu/screen.h +++ b/src/emu/screen.h @@ -182,7 +182,7 @@ public: // configuration readers screen_type_enum screen_type() const { return m_type; } int orientation() const { assert(configured()); return m_orientation; } - std::pair<unsigned, unsigned> physical_aspect() const { assert(configured()); return m_phys_aspect; } + std::pair<unsigned, unsigned> physical_aspect() const; int width() const { return m_width; } int height() const { return m_height; } const rectangle &visible_area() const { return m_visarea; } |