summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/imagedev/bitbngr.h
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2017-03-02 20:01:17 -0500
committer AJR <ajrhacker@users.noreply.github.com>2017-03-02 20:01:17 -0500
commit3ad77eae8a3c541fd02ece252ef56a6d9e3e2a49 (patch)
treefc112d758817569a40d13ae51535b4b37642e873 /src/devices/imagedev/bitbngr.h
parente27a978955f4a849b7c11ae0bb0fbc6a2bcdd9af (diff)
Image instance name refactoring and bug fixing (nw)
- update_names no longer takes arguments; the device type can be obtained easily, and the custom instance names are now overrides. Devices might not need to explicitly call update_names in the future. - Fix the frontend crash/assert failure resulting from instance names not being generated properly.
Diffstat (limited to 'src/devices/imagedev/bitbngr.h')
-rw-r--r--src/devices/imagedev/bitbngr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/devices/imagedev/bitbngr.h b/src/devices/imagedev/bitbngr.h
index 85992844859..76ec60ed116 100644
--- a/src/devices/imagedev/bitbngr.h
+++ b/src/devices/imagedev/bitbngr.h
@@ -32,6 +32,8 @@ public:
virtual bool is_reset_on_load() const override { return 0; }
virtual const char *image_interface() const override { return m_interface; }
virtual const char *file_extensions() const override { return ""; }
+ virtual const char *custom_instance_name() const override { return "bitbanger"; }
+ virtual const char *custom_brief_instance_name() const override { return "bitb"; }
void output(uint8_t data);
uint32_t input(void *buffer, uint32_t length);