summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/imagedev/bitbngr.h
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2016-08-01 18:46:56 +1000
committer Vas Crabb <vas@vastheman.com>2016-08-01 18:47:22 +1000
commit15e7be7ac8e4127e9fc0f9b5c248f4a73ba85703 (patch)
tree71346f2c2d1ac08e0e9c9f4dea8f2537af380143 /src/devices/imagedev/bitbngr.h
parentc4c05c9735a5b956de128d6017027658b6c61a8e (diff)
Turn image init/validate into scoped enums to avoid accidental casts to/from integer and boolean types
The image error should also be turned into a scoped enum - the menus were assuming it was the same thing as an init result
Diffstat (limited to 'src/devices/imagedev/bitbngr.h')
-rw-r--r--src/devices/imagedev/bitbngr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/imagedev/bitbngr.h b/src/devices/imagedev/bitbngr.h
index 5929cc62034..0a67a731bf7 100644
--- a/src/devices/imagedev/bitbngr.h
+++ b/src/devices/imagedev/bitbngr.h
@@ -17,8 +17,8 @@ public:
bitbanger_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
// image-level overrides
- virtual bool call_load() override;
- virtual bool call_create(int format_type, util::option_resolution *format_options) override;
+ virtual image_init_result call_load() override;
+ virtual image_init_result call_create(int format_type, util::option_resolution *format_options) override;
virtual void call_unload() override;
// image device