summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/ppu2c0x_vt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/ppu2c0x_vt.cpp')
-rw-r--r--src/devices/video/ppu2c0x_vt.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/devices/video/ppu2c0x_vt.cpp b/src/devices/video/ppu2c0x_vt.cpp
index 44cc2ea14fe..5e46f84ed0f 100644
--- a/src/devices/video/ppu2c0x_vt.cpp
+++ b/src/devices/video/ppu2c0x_vt.cpp
@@ -21,6 +21,8 @@ DEFINE_DEVICE_TYPE(PPU_VT03PAL, ppu_vt03pal_device, "ppu_vt03pal", "VT03 PPU (PA
ppu_vt03_device::ppu_vt03_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) :
ppu2c0x_device(mconfig, type, tag, owner, clock),
+ m_is_pal(false),
+ m_is_50hz(false),
m_read_bg(*this),
m_read_sp(*this)
{
@@ -39,6 +41,8 @@ ppu_vt03pal_device::ppu_vt03pal_device(const machine_config &mconfig, const char
{
m_scanlines_per_frame = PAL_SCANLINES_PER_FRAME;
m_vblank_first_scanline = VBLANK_FIRST_SCANLINE_PALC;
+ m_is_pal = true;
+ m_is_50hz = true;
}
@@ -54,6 +58,16 @@ READ8_MEMBER(ppu_vt03_device::palette_read)
}
}
+void ppu_vt03_device::set_201x_descramble(uint8_t reg0, uint8_t reg1, uint8_t reg2, uint8_t reg3, uint8_t reg4, uint8_t reg5)
+{
+ m_2012_2017_descramble[0] = reg0; // TOOD: name regs
+ m_2012_2017_descramble[1] = reg1;
+ m_2012_2017_descramble[2] = reg2;
+ m_2012_2017_descramble[3] = reg3;
+ m_2012_2017_descramble[4] = reg4;
+ m_2012_2017_descramble[5] = reg5;
+}
+
void ppu_vt03_device::set_new_pen(int i)
{
if((i < 0x20) && ((i & 0x3) == 0)) {