summaryrefslogtreecommitdiff
path: root/util/x86emu/yabel/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/x86emu/yabel/device.c')
-rw-r--r--util/x86emu/yabel/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/x86emu/yabel/device.c b/util/x86emu/yabel/device.c
index 6804c66755..60bad5c122 100644
--- a/util/x86emu/yabel/device.c
+++ b/util/x86emu/yabel/device.c
@@ -71,7 +71,7 @@ biosemu_dev_get_addr_info(void)
translate_address_array[taa_index].bus = bus;
translate_address_array[taa_index].devfn = devfn;
translate_address_array[taa_index].cfg_space_offset = 0x30;
- translate_address_array[taa_index].address = bios_device.dev->rom_address;
+ translate_address_array[taa_index].address = bios_device.img_addr;
translate_address_array[taa_index].size = 0; /* TODO: do we need the size? */
/* dont translate addresses... all addresses are 1:1 */
translate_address_array[taa_index].address_offset = 0;