summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/bus/vcs/vcs_slot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/bus/vcs/vcs_slot.c')
-rwxr-xr-xsrc/emu/bus/vcs/vcs_slot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/bus/vcs/vcs_slot.c b/src/emu/bus/vcs/vcs_slot.c
index dfcf8bd9a63..26086333a9a 100755
--- a/src/emu/bus/vcs/vcs_slot.c
+++ b/src/emu/bus/vcs/vcs_slot.c
@@ -788,9 +788,9 @@ void vcs_cart_slot_device::get_default_card_software(astring &result)
dynamic_buffer rom(len);
int type;
- core_fread(m_file, rom, len);
+ core_fread(m_file, &rom[0], len);
- type = identify_cart_type(rom, len);
+ type = identify_cart_type(&rom[0], len);
slot_string = vcs_get_slot(type);
clear();