summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/imagedev/bitbngr.h
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-11-11 20:50:25 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-11-11 20:50:25 +0100
commitdbd07cef385248937dc509135088f81329216209 (patch)
treeca54a779da52166190769d743bffe9367fb299e7 /src/devices/imagedev/bitbngr.h
parent1efccdd38d4bac6ec44e13f0a6cdf877e3a1c7cb (diff)
Use true/false if type used is bool (nw)
Diffstat (limited to 'src/devices/imagedev/bitbngr.h')
-rw-r--r--src/devices/imagedev/bitbngr.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/imagedev/bitbngr.h b/src/devices/imagedev/bitbngr.h
index fd7b179b14a..e78e9a2dac8 100644
--- a/src/devices/imagedev/bitbngr.h
+++ b/src/devices/imagedev/bitbngr.h
@@ -23,11 +23,11 @@ public:
// image device
virtual iodevice_t image_type() const override { return IO_SERIAL; }
- virtual bool is_readable() const override { return 1; }
- virtual bool is_writeable() const override { return 1; }
- virtual bool is_creatable() const override { return 1; }
- virtual bool must_be_loaded() const override { return 0; }
- virtual bool is_reset_on_load() const override { return 0; }
+ virtual bool is_readable() const override { return true; }
+ virtual bool is_writeable() const override { return true; }
+ virtual bool is_creatable() const override { return true; }
+ virtual bool must_be_loaded() const override { return false; }
+ virtual bool is_reset_on_load() const override { return false; }
virtual const char *file_extensions() const override { return ""; }
void output(uint8_t data);