summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mrgame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mrgame.cpp')
-rw-r--r--src/mame/drivers/mrgame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/mrgame.cpp b/src/mame/drivers/mrgame.cpp
index 540415439a1..77446a96c15 100644
--- a/src/mame/drivers/mrgame.cpp
+++ b/src/mame/drivers/mrgame.cpp
@@ -449,7 +449,7 @@ GFXDECODE_END
void mrgame_state::mrgame_palette(palette_device &palette) const
{
static constexpr int resistances[3] = { 1000, 470, 220 };
- uint8_t const *const color_prom = machine().root_device().memregion("proms")->base();
+ uint8_t const *const color_prom = memregion("proms")->base();
// compute the color output resistor weights
double rweights[3], gweights[3], bweights[2];