From 5a9bf9269c094466678e36607fffc77b4ecf7476 Mon Sep 17 00:00:00 2001 From: cracyc Date: Mon, 15 Apr 2013 13:37:19 +0000 Subject: [PATCH] bitbngr: use bitbngr instead of prin on the command line (nw) --- src/emu/imagedev/bitbngr.c | 2 +- src/emu/imagedev/bitbngr.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/emu/imagedev/bitbngr.c b/src/emu/imagedev/bitbngr.c index e0cb96dbe52..fb7355647d6 100644 --- a/src/emu/imagedev/bitbngr.c +++ b/src/emu/imagedev/bitbngr.c @@ -343,7 +343,7 @@ void bitbanger_device::device_config_complete(void) m_default_baud = 0; m_default_tune = 0; } - update_names(); + update_names(BITBANGER, "bitbngr", ""); } diff --git a/src/emu/imagedev/bitbngr.h b/src/emu/imagedev/bitbngr.h index 715a45417d7..5f443ba893b 100644 --- a/src/emu/imagedev/bitbngr.h +++ b/src/emu/imagedev/bitbngr.h @@ -96,13 +96,13 @@ public: virtual bool call_create(int format_type, option_resolution *format_options); // image device - virtual iodevice_t image_type() const { return IO_PRINTER; } + virtual iodevice_t image_type() const { return IO_SERIAL; } virtual bool is_readable() const { return 1; } virtual bool is_writeable() const { return 1; } virtual bool is_creatable() const { return 1; } virtual bool must_be_loaded() const { return 0; } virtual bool is_reset_on_load() const { return 0; } - virtual const char *file_extensions() const { return "prn"; } + virtual const char *file_extensions() const { return ""; } virtual const option_guide *create_option_guide() const { return NULL; } // outputs data to a bitbanger port