summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/hbmame/drivers/neogeo.cpp6
-rw-r--r--src/hbmame/drivers/neogeohb.cpp1
-rw-r--r--src/hbmame/video/cps1.cpp6
-rw-r--r--src/hbmame/video/pacman.cpp4
4 files changed, 9 insertions, 8 deletions
diff --git a/src/hbmame/drivers/neogeo.cpp b/src/hbmame/drivers/neogeo.cpp
index bbfd2c8c76c..eed89c86318 100644
--- a/src/hbmame/drivers/neogeo.cpp
+++ b/src/hbmame/drivers/neogeo.cpp
@@ -1141,9 +1141,9 @@ void neogeo_state::set_slot_number(int slot)
ym->reset(); // reset it again to get the new pointers
// these could have changed, ensure the pointers are valid
- m_region_maincpu.findit();
- m_region_sprites.findit();
- m_region_fixed.findit();
+ //m_region_maincpu.findit();
+ //m_region_sprites.findit();
+ //m_region_fixed.findit();
space.install_rom(0x000080, 0x0fffff, m_region_maincpu->base()+0x80); // reinstall the base program rom handler
diff --git a/src/hbmame/drivers/neogeohb.cpp b/src/hbmame/drivers/neogeohb.cpp
index ebab375f33f..07c09da0209 100644
--- a/src/hbmame/drivers/neogeohb.cpp
+++ b/src/hbmame/drivers/neogeohb.cpp
@@ -207,6 +207,7 @@ NUM YEAR COMPANY TITLE
475 2016 kannagi Ennemi Sprite Demo
476 2015 kannagi Neo Fight
477 2016 Mega Shocked DatImage demo
+478 2016 Mega Shocked Demo
********************** 800 to 899 **********************************
diff --git a/src/hbmame/video/cps1.cpp b/src/hbmame/video/cps1.cpp
index cf7c0abfed3..320522b7c8f 100644
--- a/src/hbmame/video/cps1.cpp
+++ b/src/hbmame/video/cps1.cpp
@@ -2386,9 +2386,9 @@ VIDEO_START_MEMBER(cps_state,cps)
m_stars_rom_size = 0x2000; /* first 0x4000 of gfx ROM are used, but 0x0000-0x1fff is == 0x2000-0x3fff */
/* create tilemaps */
- m_bg_tilemap[0] = &machine().tilemap().create(m_gfxdecode, tilemap_get_info_delegate(FUNC(cps_state::get_tile0_info),this), tilemap_mapper_delegate(FUNC(cps_state::tilemap0_scan),this), 8, 8, 64, 64);
- m_bg_tilemap[1] = &machine().tilemap().create(m_gfxdecode, tilemap_get_info_delegate(FUNC(cps_state::get_tile1_info),this), tilemap_mapper_delegate(FUNC(cps_state::tilemap1_scan),this), 16, 16, 64, 64);
- m_bg_tilemap[2] = &machine().tilemap().create(m_gfxdecode, tilemap_get_info_delegate(FUNC(cps_state::get_tile2_info),this), tilemap_mapper_delegate(FUNC(cps_state::tilemap2_scan),this), 32, 32, 64, 64);
+ m_bg_tilemap[0] = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(FUNC(cps_state::get_tile0_info),this), tilemap_mapper_delegate(FUNC(cps_state::tilemap0_scan),this), 8, 8, 64, 64);
+ m_bg_tilemap[1] = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(FUNC(cps_state::get_tile1_info),this), tilemap_mapper_delegate(FUNC(cps_state::tilemap1_scan),this), 16, 16, 64, 64);
+ m_bg_tilemap[2] = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(FUNC(cps_state::get_tile2_info),this), tilemap_mapper_delegate(FUNC(cps_state::tilemap2_scan),this), 32, 32, 64, 64);
/* create empty tiles */
memset(m_empty_tile, 0x0f, sizeof(m_empty_tile));
diff --git a/src/hbmame/video/pacman.cpp b/src/hbmame/video/pacman.cpp
index 5dd57c71dc0..4513d802131 100644
--- a/src/hbmame/video/pacman.cpp
+++ b/src/hbmame/video/pacman.cpp
@@ -15,7 +15,7 @@ VIDEO_START_MEMBER( pacman_state, pacmanx )
m_inv_spr = 0;
m_xoffsethack = 2;
- m_bg_tilemap = &machine().tilemap().create(m_gfxdecode, tilemap_get_info_delegate(FUNC(pacman_state::pacman_get_tile_info),this), tilemap_mapper_delegate(FUNC(pacman_state::pacman_scan_rows),this), 16, 16, 36, 28 );
+ m_bg_tilemap = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(FUNC(pacman_state::pacman_get_tile_info),this), tilemap_mapper_delegate(FUNC(pacman_state::pacman_scan_rows),this), 16, 16, 36, 28 );
m_bg_tilemap->set_scrolldx(0, 384*2 - 288*2 );
m_bg_tilemap->set_scrolldy(0, 264*2 - 224*2 );
@@ -160,7 +160,7 @@ VIDEO_START_MEMBER( pacman_state, multipac )
m_inv_spr = 0;
m_xoffsethack = 1;
- m_bg_tilemap = &machine().tilemap().create(m_gfxdecode, tilemap_get_info_delegate(FUNC(pacman_state::multipac_get_tile_info),this), tilemap_mapper_delegate(FUNC(pacman_state::pacman_scan_rows),this), 8, 8, 36, 28 );
+ m_bg_tilemap = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(FUNC(pacman_state::multipac_get_tile_info),this), tilemap_mapper_delegate(FUNC(pacman_state::pacman_scan_rows),this), 8, 8, 36, 28 );
m_bg_tilemap->set_scrolldx(0, 384 - 288 );
m_bg_tilemap->set_scrolldy(0, 264 - 224 );