summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/vegas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/vegas.cpp')
-rw-r--r--src/mame/drivers/vegas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/vegas.cpp b/src/mame/drivers/vegas.cpp
index efbc06bf8fd..e900aaa0e81 100644
--- a/src/mame/drivers/vegas.cpp
+++ b/src/mame/drivers/vegas.cpp
@@ -2592,7 +2592,7 @@ void vegas_state::init_nbanfl()
// The first three bytes of the blitz00_nov30_1999.u27 ROM are FF's which breaks the reset vector.
// These bytes are from blitz00_sep22_1999.u27 which allows the other ROM to start.
// The last byte which is part of the checksum is also FF. By changing it to 0x01 the 4 byte checksum matches with the other 3 changes.
- uint8_t *romPtr = machine().root_device().memregion(PCI_ID_NILE":rom")->base();
+ uint8_t *romPtr = memregion(PCI_ID_NILE":rom")->base();
romPtr[0x0] = 0xe2;
romPtr[0x1] = 0x00;
romPtr[0x2] = 0xf0;