diff options
Diffstat (limited to 'src/devices/bus/wswan/slot.cpp')
-rw-r--r-- | src/devices/bus/wswan/slot.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/wswan/slot.cpp b/src/devices/bus/wswan/slot.cpp index 497275965ee..fd92197ddbf 100644 --- a/src/devices/bus/wswan/slot.cpp +++ b/src/devices/bus/wswan/slot.cpp @@ -288,7 +288,7 @@ std::string ws_cart_slot_device::get_default_card_software(get_default_card_soft if (hook.image_file()) { const char *slot_string; - uint32_t size = m_file->size(); + uint32_t size = hook.image_file()->size(); std::vector<uint8_t> rom(size); int type; uint32_t nvram; |