summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author ajrhacker <ajrhacker@users.noreply.github.com>2021-04-21 00:45:50 -0400
committer GitHub <noreply@github.com>2021-04-21 00:45:50 -0400
commitc4460d6939813e270253dc736bd1530a5620703b (patch)
tree56f3be68c223005440497562dc59d79ff5810c5f
parent1c48809459f24f96e864290887493af6612fb0fd (diff)
parentf2bc78e831c1b1cf986ef8ae9f532f83e985555f (diff)
Merge pull request #7985 from brijohn/qx10_fix_segfault
qx10: allocate enough vram for color mode
-rw-r--r--src/mame/drivers/qx10.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/qx10.cpp b/src/mame/drivers/qx10.cpp
index 4e51c18afc9..91ba7edad9c 100644
--- a/src/mame/drivers/qx10.cpp
+++ b/src/mame/drivers/qx10.cpp
@@ -715,7 +715,7 @@ GFXDECODE_END
void qx10_state::video_start()
{
// allocate memory
- m_video_ram = make_unique_clear<uint16_t[]>(0x30000);
+ m_video_ram = make_unique_clear<uint16_t[]>(0x60000);
}
void qx10_state::qx10_palette(palette_device &palette) const