summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/viper.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2013-02-13 15:41:03 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2013-02-13 15:41:03 +0000
commit798b2611c9a0c01ec5ebebb386d3c94581dc51b3 (patch)
treeffc0210be76b3fb2676caeb95161bdbfbbb27f4c /src/mame/drivers/viper.c
parent8d6dcde928536ea088578191d009abdcd30eeedc (diff)
Removal of not needed machine().root_device() (nw)
Diffstat (limited to 'src/mame/drivers/viper.c')
-rw-r--r--src/mame/drivers/viper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/viper.c b/src/mame/drivers/viper.c
index fa22eb9cf95..717507e9134 100644
--- a/src/mame/drivers/viper.c
+++ b/src/mame/drivers/viper.c
@@ -2007,7 +2007,7 @@ void viper_state::machine_start()
/* configure fast RAM regions for DRC */
ppcdrc_add_fastram(machine().device("maincpu"), 0x00000000, 0x00ffffff, FALSE, workram);
- ds2430_rom = (UINT8*)machine().root_device().memregion("ds2430")->base();
+ ds2430_rom = (UINT8*)memregion("ds2430")->base();
}
void viper_state::machine_reset()