summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/x68k_crtc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/x68k_crtc.h')
-rw-r--r--src/mame/video/x68k_crtc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mame/video/x68k_crtc.h b/src/mame/video/x68k_crtc.h
index bc9f81bae0b..fd8bb2a4a01 100644
--- a/src/mame/video/x68k_crtc.h
+++ b/src/mame/video/x68k_crtc.h
@@ -41,6 +41,7 @@ public:
bool is_1024x1024() const { return BIT(m_reg[20], 10); }
bool gfx_double_scan() const { return (m_reg[20] & 0x1e) == 0x10; }
bool gfx_layer_buffer() const { return BIT(m_reg[20], 11); }
+ u8 gfx_color_mode() const { return (m_reg[20] >> 8) & 3; }
bool text_layer_buffer() const { return BIT(m_reg[20], 12); }
u16 hbegin() const { return m_hbegin; }
u16 vbegin() const { return m_vbegin; }