From 62af304b910efbc6697fef31552151943d4e2de2 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Sun, 10 Nov 2019 04:35:50 +1100 Subject: few more returning int literal for bool (nw) --- src/devices/bus/cpc/cpc_rom.h | 10 +++++----- 1 file 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"; } -- cgit v1.2.3