diff options
author | hap <happppp@users.noreply.github.com> | 2018-10-02 18:33:21 +0200 |
---|---|---|
committer | hap <happppp@users.noreply.github.com> | 2018-10-02 18:33:33 +0200 |
commit | 583f9ae37cad326cd0a399c4007fb361429f41a5 (patch) | |
tree | 2b53cc626113c347dc28a67d5df12cf63c56ad00 /src/mame/includes/namcos22.h | |
parent | 4d21877432faa5197f77a6688eb65cc8e31032e8 (diff) |
namcos22: another small optimization (nw)
Diffstat (limited to 'src/mame/includes/namcos22.h')
-rw-r--r-- | src/mame/includes/namcos22.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/includes/namcos22.h b/src/mame/includes/namcos22.h index d05ff6ade3c..4e84b25cc9a 100644 --- a/src/mame/includes/namcos22.h +++ b/src/mame/includes/namcos22.h @@ -382,6 +382,8 @@ private: uint32_t pdp_polygonram_read(offs_t offs); void pdp_polygonram_write(offs_t offs, uint32_t data); void point_write(offs_t offs, uint32_t data); + int32_t pointram_read(offs_t offs); + inline int32_t point_read(offs_t offs) { offs &= 0x00ffffff; return (offs < m_pointrom_size) ? m_pointrom[offs] : pointram_read(offs); } void master_enable(bool enable); void slave_enable(bool enable); @@ -402,7 +404,6 @@ private: void slavesim_handle_233002(const int32_t *src); void simulate_slavedsp(bitmap_rgb32 &bitmap); - int32_t point_read(int32_t addr); void init_tables(); void update_mixer(); void update_palette(); |