summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/model2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/model2.h')
-rw-r--r--src/mame/includes/model2.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/includes/model2.h b/src/mame/includes/model2.h
index 84887e734b5..67539d10636 100644
--- a/src/mame/includes/model2.h
+++ b/src/mame/includes/model2.h
@@ -187,8 +187,8 @@ public:
DECLARE_WRITE32_MEMBER(model2_5881prot_w);
int first_read;
- void model2_3d_init(uint16_t *texture_rom);
- void geo_init(uint32_t *polygon_rom);
+ void raster_init(memory_region *texture_rom);
+ void geo_init(memory_region *polygon_rom);
DECLARE_READ32_MEMBER(maxx_r);
DECLARE_WRITE32_MEMBER(mode_w);
DECLARE_WRITE32_MEMBER(model2o_tex_w0);
@@ -348,7 +348,7 @@ public:
model2_renderer(model2_state& state)
: poly_manager<float, m2_poly_extra_data, 4, 32768>(state.machine())
, m_state(state)
- , m_destmap(state.m_screen->width(), state.m_screen->height())
+ , m_destmap(512, 512)
{
m_renderfuncs[0] = &model2_renderer::model2_3d_render_0;
m_renderfuncs[1] = &model2_renderer::model2_3d_render_1;