diff options
Diffstat (limited to 'src/mame/video/model1.cpp')
-rw-r--r-- | src/mame/video/model1.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/video/model1.cpp b/src/mame/video/model1.cpp index 2a15cb21157..a1e10dcfe49 100644 --- a/src/mame/video/model1.cpp +++ b/src/mame/video/model1.cpp @@ -764,7 +764,7 @@ void model1_state::push_object(uint32_t tex_adr, uint32_t poly_adr, uint32_t siz if (poly_adr & 0x800000) poly_data = (float *)m_poly_ram.get(); else - poly_data = (float *)m_poly_rom; + poly_data = (float *)m_poly_rom.target(); poly_adr &= 0x7fffff; #if 0 @@ -1566,7 +1566,6 @@ VIDEO_START_MEMBER(model1_state, model1) { m_view = auto_alloc_clear(machine(), <model1_state::view_t>()); - m_poly_rom = (uint32_t *)memregion("user1")->base(); m_poly_ram = make_unique_clear<uint32_t[]>(0x400000); m_tgp_ram = make_unique_clear<uint16_t[]>(0x100000-0x40000); m_pointdb = auto_alloc_array_clear(machine(), model1_state::point_t, 1000000*2); |