summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/gameboy/gb_slot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/gameboy/gb_slot.cpp')
-rw-r--r--src/devices/bus/gameboy/gb_slot.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/devices/bus/gameboy/gb_slot.cpp b/src/devices/bus/gameboy/gb_slot.cpp
index 74a6a605a4a..7ce626e67c7 100644
--- a/src/devices/bus/gameboy/gb_slot.cpp
+++ b/src/devices/bus/gameboy/gb_slot.cpp
@@ -141,7 +141,6 @@ gb_cart_slot_device_base::gb_cart_slot_device_base(const machine_config &mconfig
device_t(mconfig, type, tag, owner, clock),
device_image_interface(mconfig, *this),
device_slot_interface(mconfig, *this),
- m_sgb_hack(0),
m_type(GB_MBC_UNKNOWN),
m_cart(nullptr)
{
@@ -227,7 +226,7 @@ static int gb_get_pcb_id(const char *slot)
return elem.pcb_id;
}
- return 0;
+ return GB_MBC_NONE;
}
static const char *gb_get_slot(int type)
@@ -386,12 +385,6 @@ image_init_result gb_cart_slot_device_base::call_load()
internal_header_logging(ROM + offset, len);
- // Hack to support Donkey Kong Land 2 + 3 in SGB
- // For some reason, these store the tile data differently. Hacks will go once it's been figured out
- if (strncmp((const char*)(ROM + 0x134), "DONKEYKONGLAND 2", 16) == 0 ||
- strncmp((const char*)(ROM + 0x134), "DONKEYKONGLAND 3", 16) == 0)
- m_sgb_hack = 1;
-
return image_init_result::PASS;
}