summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/megadrive/md_slot.cpp
diff options
context:
space:
mode:
author Scott Stone <tafoid@gmail.com>2016-03-27 17:59:24 -0400
committer Scott Stone <tafoid@gmail.com>2016-03-27 17:59:24 -0400
commit7acc369455f12648b058baa48401176171e285ea (patch)
tree5415268877b2d34ce105564d7f79c712d5805ec5 /src/devices/bus/megadrive/md_slot.cpp
parentb939d798920967240d4bd29cb475f7e786f739b3 (diff)
Swap the endianess of the md_slot device bus to big endian, fixing megadriv cheats [Pugsy]
Diffstat (limited to 'src/devices/bus/megadrive/md_slot.cpp')
-rw-r--r--src/devices/bus/megadrive/md_slot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/megadrive/md_slot.cpp b/src/devices/bus/megadrive/md_slot.cpp
index f44e0597cd4..5a496ac124a 100644
--- a/src/devices/bus/megadrive/md_slot.cpp
+++ b/src/devices/bus/megadrive/md_slot.cpp
@@ -87,7 +87,7 @@ void device_md_cart_interface::rom_alloc(size_t size, const char *tag)
{
if (m_rom == nullptr)
{
- m_rom = (UINT16 *)device().machine().memory().region_alloc(std::string(tag).append(MDSLOT_ROM_REGION_TAG).c_str(), size, 2, ENDIANNESS_LITTLE)->base();
+ m_rom = (UINT16 *)device().machine().memory().region_alloc(std::string(tag).append(MDSLOT_ROM_REGION_TAG).c_str(), size, 2, ENDIANNESS_BIG)->base();
m_rom_size = size;
}
}