summaryrefslogtreecommitdiffstats
path: root/src/emu/drivers/testcpu.cpp
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2018-03-13 07:36:43 +0100
committer Olivier Galibert <galibert@pobox.com>2018-03-14 14:07:14 +0100
commit115bb9936c5cd3faf955d7eb1e251a94e4744b7b (patch)
treef0230f547f6c750f9974c61479eef28cbe4ad571 /src/emu/drivers/testcpu.cpp
parentf155992daab88ad024cec995428a67108218b51d (diff)
Address maps macros removal, pass 1 [O. Galibert]
Diffstat (limited to 'src/emu/drivers/testcpu.cpp')
-rw-r--r--src/emu/drivers/testcpu.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/emu/drivers/testcpu.cpp b/src/emu/drivers/testcpu.cpp
index 6493471df4c..b622528d02e 100644
--- a/src/emu/drivers/testcpu.cpp
+++ b/src/emu/drivers/testcpu.cpp
@@ -178,10 +178,11 @@ private:
// ADDRESS MAPS
//**************************************************************************
-ADDRESS_MAP_START(testcpu_state::ppc_mem)
- AM_RANGE(RAM_BASE, RAM_BASE+7) AM_RAM AM_SHARE("ram")
- AM_RANGE(0x00000000, 0xffffffff) AM_READWRITE(general_r, general_w)
-ADDRESS_MAP_END
+void testcpu_state::ppc_mem(address_map &map)
+{
+ map(RAM_BASE, RAM_BASE+7).ram().share("ram");
+ map(0x00000000, 0xffffffff).rw(this, FUNC(testcpu_state::general_r), FUNC(testcpu_state::general_w));
+}