summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/wswan/slot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/wswan/slot.cpp')
-rw-r--r--src/devices/bus/wswan/slot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/wswan/slot.cpp b/src/devices/bus/wswan/slot.cpp
index 760dabe9971..aa6eaaef163 100644
--- a/src/devices/bus/wswan/slot.cpp
+++ b/src/devices/bus/wswan/slot.cpp
@@ -229,7 +229,7 @@ void ws_cart_slot_device::call_unload()
get cart type from cart file
-------------------------------------------------*/
-int ws_cart_slot_device::get_cart_type(uint8_t *ROM, uint32_t len, uint32_t &nvram_len)
+int ws_cart_slot_device::get_cart_type(const uint8_t *ROM, uint32_t len, uint32_t &nvram_len) const
{
int chunks = len / 0x10000;
int type = WS_STD;