video/mc6845.h: mark set_show_border_area and set_visarea_adjust as hack setters

This commit is contained in:
angelosa 2024-02-10 19:01:59 +01:00
parent d7e9314388
commit 6f01a4263e

View File

@ -62,7 +62,9 @@ public:
// construction/destruction
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; }
// HACK: a static alternative of above
void set_visarea_adjust(int min_x, int max_x, int min_y, int max_y)
{
m_visarea_adjust_min_x = min_x;