summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/ppu2c0x_vt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/ppu2c0x_vt.h')
-rw-r--r--src/devices/video/ppu2c0x_vt.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/devices/video/ppu2c0x_vt.h b/src/devices/video/ppu2c0x_vt.h
index 7801ce44351..9514da73136 100644
--- a/src/devices/video/ppu2c0x_vt.h
+++ b/src/devices/video/ppu2c0x_vt.h
@@ -32,7 +32,7 @@ public:
auto read_sp() { return m_read_sp.bind(); }
void set_palette_mode(vtxx_pal_mode pmode) { m_pal_mode = pmode; }
- void set_201x_descramble(const uint8_t descramble[6]) { for (int i = 0; i < 6; i++) m_2012_2017_descramble[i] = descramble[i]; }
+ void set_201x_descramble(uint8_t reg0, uint8_t reg1, uint8_t reg2, uint8_t reg3, uint8_t reg4, uint8_t reg5);
virtual DECLARE_READ8_MEMBER(read) override;
virtual DECLARE_WRITE8_MEMBER(write) override;
@@ -62,6 +62,13 @@ public:
uint8_t get_m_read_bg4_bg3();
uint8_t get_speva2_speva0();
+ bool get_is_pal() { return m_is_pal; }
+ bool get_is_50hz() { return m_is_50hz; }
+
+protected:
+ bool m_is_pal;
+ bool m_is_50hz;
+
private:
devcb_read8 m_read_bg;
devcb_read8 m_read_sp;