summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/imagedev/midiin.h
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-11-12 09:11:04 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-11-12 09:12:35 +0100
commit2131d9ad3a36ce2f8ddd536ac3267c79307a41d4 (patch)
tree5284cec215a35d7a8b580a4ef02a76a059dd0a4d /src/devices/imagedev/midiin.h
parent2426d31f98f11b916c524809566c59d12b442fee (diff)
Revert "Use true/false if type used is bool (nw)"
This reverts commit dbd07cef385248937dc509135088f81329216209.
Diffstat (limited to 'src/devices/imagedev/midiin.h')
-rw-r--r--src/devices/imagedev/midiin.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/imagedev/midiin.h b/src/devices/imagedev/midiin.h
index 7f93d591787..08429c54003 100644
--- a/src/devices/imagedev/midiin.h
+++ b/src/devices/imagedev/midiin.h
@@ -36,11 +36,11 @@ public:
// image device
virtual iodevice_t image_type() const override { return IO_MIDIIN; }
- virtual bool is_readable() const override { return true; }
- virtual bool is_writeable() const override { return false; }
- virtual bool is_creatable() const override { return false; }
- virtual bool must_be_loaded() const override { return false; }
- virtual bool is_reset_on_load() const override { return false; }
+ virtual bool is_readable() const override { return 1; }
+ virtual bool is_writeable() const override { return 0; }
+ virtual bool is_creatable() const override { return 0; }
+ virtual bool must_be_loaded() const override { return 0; }
+ virtual bool is_reset_on_load() const override { return 0; }
virtual const char *file_extensions() const override { return "mid"; }
virtual bool core_opens_image_file() const override { return false; }