summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2019-11-10 04:35:50 +1100
committer Vas Crabb <vas@vastheman.com>2019-11-10 04:35:50 +1100
commit62af304b910efbc6697fef31552151943d4e2de2 (patch)
treefa70540e7b2a9a0017e5ef251f355ce98d86c331
parent13b1ebb1b4512ba808cdc5dfbdac61ed0d755d8c (diff)
few more returning int literal for bool (nw)
-rw-r--r--src/devices/bus/cpc/cpc_rom.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/bus/cpc/cpc_rom.h b/src/devices/bus/cpc/cpc_rom.h
index f5ba180b9c8..5f36de39fcf 100644
--- a/src/devices/bus/cpc/cpc_rom.h
+++ b/src/devices/bus/cpc/cpc_rom.h
@@ -30,11 +30,11 @@ public:
virtual iodevice_t image_type() const noexcept override { return IO_ROM; }
- virtual bool is_readable() const noexcept override { return 1; }
- virtual bool is_writeable() const noexcept override { return 0; }
- virtual bool is_creatable() const noexcept override { return 0; }
- virtual bool must_be_loaded() const noexcept override { return 0; }
- virtual bool is_reset_on_load() const noexcept override { return 1; }
+ virtual bool is_readable() const noexcept override { return true; }
+ virtual bool is_writeable() const noexcept override { return false; }
+ virtual bool is_creatable() const noexcept override { return false; }
+ virtual bool must_be_loaded() const noexcept override { return false; }
+ virtual bool is_reset_on_load() const noexcept override { return true; }
virtual const char *image_interface() const noexcept override { return "cpc_rom"; }
virtual const char *file_extensions() const noexcept override { return "rom,bin"; }