summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/gba/rom.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-12-05 13:34:37 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2015-12-05 13:34:37 +0100
commit31ae631b88404d1d637e3bb216e0093f026309f8 (patch)
tree288bd45c4c2884377fb5d2efb76202e580e33659 /src/devices/bus/gba/rom.cpp
parent4c8a059d1d3d205434114e0aea66c702ff9f14a0 (diff)
Revert "use c++ cast instead of c casts (nw)"
This reverts commit be704c00abe1eaaa442db81db04c8b71595d5c41.
Diffstat (limited to 'src/devices/bus/gba/rom.cpp')
-rw-r--r--src/devices/bus/gba/rom.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/gba/rom.cpp b/src/devices/bus/gba/rom.cpp
index 2ce7a81d004..8e857dfe004 100644
--- a/src/devices/bus/gba/rom.cpp
+++ b/src/devices/bus/gba/rom.cpp
@@ -96,14 +96,14 @@ void gba_rom_eeprom_device::device_start()
{
// for the moment we use a custom eeprom implementation, so we alloc/save it as nvram
nvram_alloc(0x200);
- m_eeprom = std::make_unique<gba_eeprom_device>(machine(), reinterpret_cast<UINT8*>(get_nvram_base()), get_nvram_size(), 6);
+ m_eeprom = std::make_unique<gba_eeprom_device>(machine(), (UINT8*)get_nvram_base(), get_nvram_size(), 6);
}
void gba_rom_eeprom64_device::device_start()
{
// for the moment we use a custom eeprom implementation, so we alloc/save it as nvram
nvram_alloc(0x2000);
- m_eeprom = std::make_unique<gba_eeprom_device>(machine(), reinterpret_cast<UINT8*>(get_nvram_base()), get_nvram_size(), 14);
+ m_eeprom = std::make_unique<gba_eeprom_device>(machine(), (UINT8*)get_nvram_base(), get_nvram_size(), 14);
}