mirror of
https://github.com/holub/mame
synced 2025-07-04 17:38:08 +03:00
video/mc6845.h: mark set_show_border_area and set_visarea_adjust as hack setters
This commit is contained in:
parent
d7e9314388
commit
6f01a4263e
@ -62,7 +62,9 @@ public:
|
|||||||
// construction/destruction
|
// construction/destruction
|
||||||
mc6845_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
|
mc6845_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
|
||||||
|
|
||||||
|
// HACK: show the full screen_device htotal/vtotal if true (regulate with UI slider controls)
|
||||||
void set_show_border_area(bool show) { m_show_border_area = show; }
|
void set_show_border_area(bool show) { m_show_border_area = show; }
|
||||||
|
// HACK: a static alternative of above
|
||||||
void set_visarea_adjust(int min_x, int max_x, int min_y, int max_y)
|
void set_visarea_adjust(int min_x, int max_x, int min_y, int max_y)
|
||||||
{
|
{
|
||||||
m_visarea_adjust_min_x = min_x;
|
m_visarea_adjust_min_x = min_x;
|
||||||
|
Loading…
Reference in New Issue
Block a user