summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/model2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/model2.cpp')
-rw-r--r--src/mame/video/model2.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/video/model2.cpp b/src/mame/video/model2.cpp
index 3285850e0f8..6c019f31ddb 100644
--- a/src/mame/video/model2.cpp
+++ b/src/mame/video/model2.cpp
@@ -2599,7 +2599,9 @@ VIDEO_START_MEMBER(model2_state,model2)
geo_init( (uint32_t*)memregion("user2")->base() );
/* init various video-related pointers */
- m_palram = make_unique_clear<uint16_t[]>(0x2000);
+ m_palram = make_unique_clear<uint16_t[]>(0x4000/2);
+ m_colorxlat = make_unique_clear<uint16_t[]>(0xc000/2);
+ m_lumaram = make_unique_clear<uint16_t[]>(0x10000/2);
}
uint32_t model2_state::screen_update_model2(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)