From 053ea31f64ea7e017c02323cab948938660c2fc1 Mon Sep 17 00:00:00 2001 From: AJR Date: Mon, 27 Feb 2017 11:41:31 -0500 Subject: hp9845b: Use standard instance names (and type) for optional ROMs --- src/devices/bus/hp_optroms/hp_optrom.cpp | 2 +- src/devices/bus/hp_optroms/hp_optrom.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/devices/bus/hp_optroms/hp_optrom.cpp b/src/devices/bus/hp_optroms/hp_optrom.cpp index 49f9f2bc8e6..709ed9c9be7 100644 --- a/src/devices/bus/hp_optroms/hp_optrom.cpp +++ b/src/devices/bus/hp_optroms/hp_optrom.cpp @@ -55,7 +55,7 @@ void hp_optrom_slot_device::device_start() void hp_optrom_slot_device::device_config_complete() { - update_names(HP_OPTROM_SLOT , "optional_rom" , "optrom"); + update_names(); } image_init_result hp_optrom_slot_device::call_load() diff --git a/src/devices/bus/hp_optroms/hp_optrom.h b/src/devices/bus/hp_optroms/hp_optrom.h index b36cf3d62da..3fdbb2f755a 100644 --- a/src/devices/bus/hp_optroms/hp_optrom.h +++ b/src/devices/bus/hp_optroms/hp_optrom.h @@ -46,7 +46,7 @@ public: virtual void call_unload() override; virtual const software_list_loader &get_software_list_loader() const override { return rom_software_list_loader::instance(); } - virtual iodevice_t image_type() const override { return IO_CARTSLOT; } + virtual iodevice_t image_type() const override { return IO_ROM; } virtual bool is_readable() const override { return true; } virtual bool is_writeable() const override { return false; } virtual bool is_creatable() const override { return false; } -- cgit v1.2.3