summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/gba/gba_slot.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/gba_slot.cpp
parent4c8a059d1d3d205434114e0aea66c702ff9f14a0 (diff)
Revert "use c++ cast instead of c casts (nw)"
This reverts commit be704c00abe1eaaa442db81db04c8b71595d5c41.
Diffstat (limited to 'src/devices/bus/gba/gba_slot.cpp')
-rw-r--r--src/devices/bus/gba/gba_slot.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/gba/gba_slot.cpp b/src/devices/bus/gba/gba_slot.cpp
index c56ba152e7f..fc8f09f30a0 100644
--- a/src/devices/bus/gba/gba_slot.cpp
+++ b/src/devices/bus/gba/gba_slot.cpp
@@ -51,7 +51,7 @@ void device_gba_cart_interface::rom_alloc(UINT32 size, const char *tag)
if (m_rom == nullptr)
{
// we always alloc 32MB of rom region!
- m_rom = reinterpret_cast<UINT32 *>(device().machine().memory().region_alloc(std::string(tag).append(GBASLOT_ROM_REGION_TAG).c_str(), 0x2000000, 4, ENDIANNESS_LITTLE)->base());
+ m_rom = (UINT32 *)device().machine().memory().region_alloc(std::string(tag).append(GBASLOT_ROM_REGION_TAG).c_str(), 0x2000000, 4, ENDIANNESS_LITTLE)->base();
m_rom_size = size;
}
}
@@ -176,7 +176,7 @@ bool gba_cart_slot_device::call_load()
}
m_cart->rom_alloc(size, tag());
- ROM = reinterpret_cast<UINT8 *>(m_cart->get_rom_base());
+ ROM = (UINT8 *)m_cart->get_rom_base();
if (software_entry() == nullptr)
{