summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/isa/svga_tseng.cpp
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2022-02-10 04:03:14 +0100
committer GitHub <noreply@github.com>2022-02-09 22:03:14 -0500
commit553c2561089b59f2cb3918be337774e9392459e8 (patch)
treefccf7e77bab1d2fe3f01d709deaa8cb1f46858d7 /src/devices/bus/isa/svga_tseng.cpp
parentc49b3026a12a5e7b635c10413fbde183449e53e0 (diff)
vga: made video RAM size configurable at machine configuration (#9289)
Diffstat (limited to 'src/devices/bus/isa/svga_tseng.cpp')
-rw-r--r--src/devices/bus/isa/svga_tseng.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/devices/bus/isa/svga_tseng.cpp b/src/devices/bus/isa/svga_tseng.cpp
index ab5bbb755f0..0d1485ad17d 100644
--- a/src/devices/bus/isa/svga_tseng.cpp
+++ b/src/devices/bus/isa/svga_tseng.cpp
@@ -35,7 +35,9 @@ void isa8_svga_et4k_device::device_add_mconfig(machine_config &config)
screen.set_raw(25.175_MHz_XTAL, 800, 0, 640, 524, 0, 480);
screen.set_screen_update(m_vga, FUNC(tseng_vga_device::screen_update));
- TSENG_VGA(config, m_vga, 0).set_screen("screen");
+ TSENG_VGA(config, m_vga, 0);
+ m_vga->set_screen("screen");
+ m_vga->set_vram_size(0x100000);
}
//-------------------------------------------------