diff options
| author | 2015-01-26 19:56:34 +0100 | |
|---|---|---|
| committer | 2015-01-26 19:56:34 +0100 | |
| commit | 609f3cf2ce9b8a9e61af8be40640449ef376671d (patch) | |
| tree | 19bc35cec8008e0a5629d9d0db5dcae0e7518d62 | |
| parent | 9d558542f0db9f27539b15f303313a596362f952 (diff) | |
If the return type is bool, use bool constants, not integers. (nw)
| -rw-r--r-- | src/mame/machine/ng_memcard.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/machine/ng_memcard.h b/src/mame/machine/ng_memcard.h index 7b00b113406..ea1a419ecd0 100644 --- a/src/mame/machine/ng_memcard.h +++ b/src/mame/machine/ng_memcard.h @@ -36,11 +36,11 @@ public: virtual iodevice_t image_type() const { return IO_MEMCARD; } - 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 bool is_readable() const { return true; } + virtual bool is_writeable() const { return true; } + virtual bool is_creatable() const { return true; } + virtual bool must_be_loaded() const { return false; } + virtual bool is_reset_on_load() const { return false; } virtual const char *file_extensions() const { return "neo"; } virtual const option_guide *create_option_guide() const { return NULL; } |
