summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/vrender0.cpp
diff options
context:
space:
mode:
author Angelo Salese <angelosa@users.noreply.github.com>2023-04-27 17:46:54 +0200
committer GitHub <noreply@github.com>2023-04-27 17:46:54 +0200
commitc4b3efa55cf2615cfd36dbea6dd83f16c94188f6 (patch)
tree4096ee9a1b52efb644103954ca5624e06a5c035c /src/devices/machine/vrender0.cpp
parent8d81957aa37f418ce6d551dc25893842d2a0c495 (diff)
video/vrender0.cpp: More accurate VRender0 pipeline inner workings (#11057)
- Fixes donghaer split screen;
Diffstat (limited to 'src/devices/machine/vrender0.cpp')
-rw-r--r--src/devices/machine/vrender0.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/devices/machine/vrender0.cpp b/src/devices/machine/vrender0.cpp
index 23bd8b5b1d5..0aae244da33 100644
--- a/src/devices/machine/vrender0.cpp
+++ b/src/devices/machine/vrender0.cpp
@@ -130,7 +130,8 @@ void vrender0soc_device::device_add_mconfig(machine_config &config)
m_screen->screen_vblank().set(FUNC(vrender0soc_device::screen_vblank));
m_screen->set_palette(m_palette);
- VIDEO_VRENDER0(config, m_vr0vid, 14318180);
+ // runs at double speed wrt of the CPU clock
+ VIDEO_VRENDER0(config, m_vr0vid, DERIVED_CLOCK(2, 1));
PALETTE(config, m_palette, palette_device::RGB_565);
@@ -713,8 +714,9 @@ WRITE_LINE_MEMBER(vrender0soc_device::screen_vblank)
if (state)
{
if (crt_active_vblank_irq() == true)
+ {
IntReq(24); //VRender0 VBlank
-
- m_vr0vid->execute_flipping();
+ m_vr0vid->execute_flipping();
+ }
}
}