summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/gba
diff options
context:
space:
mode:
author npwoods <npwoods@alumni.carnegiemellon.edu>2017-04-17 05:44:46 -0400
committer Olivier Galibert <galibert@pobox.com>2017-04-17 11:44:46 +0200
commit69d9706616807af96da3ef722620f886569b1c03 (patch)
treee66c2049fcd2ba1a2259068be36bc1caadfd6e41 /src/devices/bus/gba
parent8b28b3e70bf27bb4d5039c10544da6f1832387e2 (diff)
Made a number of device_image_interface members private (#2227)
* Made a number of device_image_interface members private This also fixes a number of get_default_card_software() implementations that were accessing m_file incorrectly * Remove duplicate prototype
Diffstat (limited to 'src/devices/bus/gba')
-rw-r--r--src/devices/bus/gba/gba_slot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/gba/gba_slot.cpp b/src/devices/bus/gba/gba_slot.cpp
index 0cf81e51da9..9df15197487 100644
--- a/src/devices/bus/gba/gba_slot.cpp
+++ b/src/devices/bus/gba/gba_slot.cpp
@@ -424,7 +424,7 @@ std::string gba_cart_slot_device::get_default_card_software(get_default_card_sof
std::vector<uint8_t> rom(len);
int type;
- m_file->read(&rom[0], len);
+ hook.image_file()->read(&rom[0], len);
type = get_cart_type(&rom[0], len);
slot_string = gba_get_slot(type);