summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/etc
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2019-11-09 15:32:15 -0500
committer AJR <ajrhacker@users.noreply.github.com>2019-11-09 16:10:14 -0500
commitd267384837d6bdd12ebff16162750d38803f6287 (patch)
treee361aa86f4fa1e4f80f74167a89268fe4719b22d /src/mame/etc
parentedb7eb0bf0582f984f2e035a4c96f728f92c8a63 (diff)
Make many device_execute_interface functions noexcept, including the "information" overrides. This also covers several time-related functions in attotime, running_machine and emu_timer. (nw)
m6805: Calculate min_cycles and max_cycles once at device_start time (Nw) attotime: Add as_khz and as_mhz (nw)
Diffstat (limited to 'src/mame/etc')
-rw-r--r--src/mame/etc/template_cpu.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/etc/template_cpu.h b/src/mame/etc/template_cpu.h
index 72a0c78f89e..b4618c1eedb 100644
--- a/src/mame/etc/template_cpu.h
+++ b/src/mame/etc/template_cpu.h
@@ -32,9 +32,9 @@ protected:
virtual void device_reset() override;
// device_execute_interface overrides
- virtual uint32_t execute_min_cycles() const override { return 1; }
- virtual uint32_t execute_max_cycles() const override { return 7; }
- virtual uint32_t execute_input_lines() const override { return 0; }
+ virtual uint32_t execute_min_cycles() const noexcept override { return 1; }
+ virtual uint32_t execute_max_cycles() const noexcept override { return 7; }
+ virtual uint32_t execute_input_lines() const noexcept override { return 0; }
virtual void execute_run() override;
virtual void execute_set_input(int inputnum, int state) override;