summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author cam900 <dbtlrchl@naver.com>2025-10-09 00:56:11 +0900
committer GitHub <noreply@github.com>2025-10-09 02:56:11 +1100
commit0a8ce8101748e19cdfe84053846e679e29181454 (patch)
treec617b18ffb23bc7f2cc74c434500616ee7f26022
parent292e17891f6ffe94bb5341664357cec39d074bca (diff)
nmk/nmk16.cpp: Don't apply Macross tilemap offsets to the Many Block bootleg. (#14287)
-rw-r--r--src/mame/nmk/nmk16.cpp2
-rw-r--r--src/mame/nmk/nmk16.h1
-rw-r--r--src/mame/nmk/nmk16_v.cpp8
3 files changed, 9 insertions, 2 deletions
diff --git a/src/mame/nmk/nmk16.cpp b/src/mame/nmk/nmk16.cpp
index d4e56e266fb..2df7d627254 100644
--- a/src/mame/nmk/nmk16.cpp
+++ b/src/mame/nmk/nmk16.cpp
@@ -5921,7 +5921,7 @@ void nmk16_state::manybloc(machine_config &config)
GFXDECODE(config, m_gfxdecode, m_palette, gfx_tharrier);
PALETTE(config, m_palette).set_format(palette_device::RRRRGGGGBBBBRGBx, 512);
- MCFG_VIDEO_START_OVERRIDE(nmk16_state,macross)
+ MCFG_VIDEO_START_OVERRIDE(nmk16_state,manybloc)
// sound hardware
SPEAKER(config, "mono").front_center();
diff --git a/src/mame/nmk/nmk16.h b/src/mame/nmk/nmk16.h
index ecd76ffcd04..4824867c820 100644
--- a/src/mame/nmk/nmk16.h
+++ b/src/mame/nmk/nmk16.h
@@ -196,6 +196,7 @@ protected:
TILE_GET_INFO_MEMBER(bioship_get_bg_tile_info);
TILE_GET_INFO_MEMBER(bjtwin_get_bg_tile_info);
TILE_GET_INFO_MEMBER(powerins_get_bg_tile_info);
+ DECLARE_VIDEO_START(manybloc);
DECLARE_VIDEO_START(macross);
DECLARE_VIDEO_START(bioship);
DECLARE_VIDEO_START(strahl);
diff --git a/src/mame/nmk/nmk16_v.cpp b/src/mame/nmk/nmk16_v.cpp
index 2aee8b08774..366381158eb 100644
--- a/src/mame/nmk/nmk16_v.cpp
+++ b/src/mame/nmk/nmk16_v.cpp
@@ -118,7 +118,7 @@ VIDEO_START_MEMBER(nmk16_state, bioship)
m_tx_tilemap->set_scrolldx(92, 92);
}
-VIDEO_START_MEMBER(nmk16_state,macross)
+VIDEO_START_MEMBER(nmk16_state,manybloc)
{
m_bg_tilemap[0] = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(*this, NAME((&nmk16_state::common_get_bg_tile_info<0, 1>))), tilemap_mapper_delegate(*this, FUNC(nmk16_state::tilemap_scan_pages)), 16, 16, 256, 32);
m_bg_tilemap[1] = nullptr;
@@ -127,6 +127,12 @@ VIDEO_START_MEMBER(nmk16_state,macross)
m_tx_tilemap->set_transparent_pen(15);
video_init();
+ // no tilemap offset in this hardware? need to verification
+}
+
+VIDEO_START_MEMBER(nmk16_state,macross)
+{
+ VIDEO_START_CALL_MEMBER(manybloc);
m_bg_tilemap[0]->set_scrolldx(92, 92);
m_tx_tilemap->set_scrolldx(92, 92);
}