diff options
author | Olivier Galibert <galibert@pobox.com> | 2015-04-12 22:53:48 +0200 |
---|---|---|
committer | Olivier Galibert <galibert@pobox.com> | 2015-04-14 19:58:17 +0200 |
commit | 278cf84e5503d1829e837e21dc8c238bc8cab577 (patch) | |
tree | 5d1f529f01fdfe3615879d3482bc9cf8294ec5d7 /src/emu/bus/gba/gba_slot.c | |
parent | 75e8861950d520e83740b7b5747735f0286df145 (diff) |
Replace dynamic_array with std::vector [O. Galibert]
Diffstat (limited to 'src/emu/bus/gba/gba_slot.c')
-rw-r--r-- | src/emu/bus/gba/gba_slot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/bus/gba/gba_slot.c b/src/emu/bus/gba/gba_slot.c index 64906667b53..30f50201a3f 100644 --- a/src/emu/bus/gba/gba_slot.c +++ b/src/emu/bus/gba/gba_slot.c @@ -408,9 +408,9 @@ void gba_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 = get_cart_type(rom, len); + type = get_cart_type(&rom[0], len); slot_string = gba_get_slot(type); //printf("type: %s\n", slot_string); |