mirror of
https://github.com/holub/mame
synced 2025-10-06 17:08:28 +03:00
model2.cpp: hookup polygon count (nw)
This commit is contained in:
parent
c65b903ed2
commit
a649377289
@ -1447,12 +1447,6 @@ READ8_MEMBER(model2_state::tgpid_r)
|
||||
return ID[offset];
|
||||
}
|
||||
|
||||
/* Sky Target, TODO */
|
||||
READ32_MEMBER(model2_state::polygon_count_r)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* common map for all Model 2 versions */
|
||||
ADDRESS_MAP_START(model2_state::model2_base_mem)
|
||||
AM_RANGE(0x00000000, 0x001fffff) AM_ROM AM_WRITENOP
|
||||
|
@ -293,6 +293,14 @@ WRITE32_MEMBER(model2_state::model2_3d_zclip_w)
|
||||
m_raster->master_z_clip = data;
|
||||
}
|
||||
|
||||
// TODO: only Sky Target seems to use this for unknown purpose
|
||||
READ32_MEMBER(model2_state::polygon_count_r)
|
||||
{
|
||||
// printf("%08x\n",m_raster->tri_list_index);
|
||||
|
||||
return m_raster->tri_list_index;
|
||||
}
|
||||
|
||||
/*******************************************
|
||||
*
|
||||
* Hardware 3D Rasterizer Processing
|
||||
|
Loading…
Reference in New Issue
Block a user