summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/315_5313.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/315_5313.h')
-rw-r--r--src/devices/video/315_5313.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/devices/video/315_5313.h b/src/devices/video/315_5313.h
index 72fcd51a6ed..565f5d06f09 100644
--- a/src/devices/video/315_5313.h
+++ b/src/devices/video/315_5313.h
@@ -32,6 +32,7 @@ public:
auto lv6_irq() { return m_lv6irqline_callback.bind(); }
auto lv4_irq() { return m_lv4irqline_callback.bind(); }
+ void set_lcm_scaling(bool lcm_scaling) { m_lcm_scaling = lcm_scaling; }
void set_alt_timing(int use_alt_timing) { m_use_alt_timing = use_alt_timing; }
void set_pal_write_base(int palwrite_base) { m_palwrite_base = palwrite_base; }
template <typename T> void set_ext_palette(T &&tag) { m_ext_palette.set_tag(std::forward<T>(tag)); }
@@ -116,6 +117,7 @@ protected:
md_32x_interrupt_delegate m_32x_interrupt_func;
md_32x_scanline_helper_delegate m_32x_scanline_helper_func;
+ virtual int screen_hpos() override;
private:
// vdp code defines
const u8 CODE_DMA() { return m_vdp_code & 0x20; }
@@ -142,6 +144,7 @@ private:
void get_nametable(gfx_element *tile_gfx, u16 tile_base, nametable_t &tile, int vcolumn);
inline void draw_tile(nametable_t tile, int start, int end, int &dpos, bool is_fg);
+ inline u8 get_hres();
int m_command_pending; // 2nd half of command pending..
u16 m_command_part1;
u16 m_command_part2;
@@ -159,6 +162,7 @@ private:
int m_imode;
+ bool m_lcm_scaling;
int m_visible_scanlines;
int m_irq6_scanline;
int m_z80irq_scanline;