summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/dspp/dspp.cpp
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/devices/cpu/dspp/dspp.cpp
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/devices/cpu/dspp/dspp.cpp')
-rw-r--r--src/devices/cpu/dspp/dspp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/dspp/dspp.cpp b/src/devices/cpu/dspp/dspp.cpp
index f93f841717f..587df951f45 100644
--- a/src/devices/cpu/dspp/dspp.cpp
+++ b/src/devices/cpu/dspp/dspp.cpp
@@ -653,7 +653,7 @@ inline uint16_t dspp_device::translate_reg(uint16_t reg)
// cycles it takes for one instruction to execute
//-------------------------------------------------
-uint32_t dspp_device::execute_min_cycles() const
+uint32_t dspp_device::execute_min_cycles() const noexcept
{
return 1;
}
@@ -664,7 +664,7 @@ uint32_t dspp_device::execute_min_cycles() const
// cycles it takes for one instruction to execute
//-------------------------------------------------
-uint32_t dspp_device::execute_max_cycles() const
+uint32_t dspp_device::execute_max_cycles() const noexcept
{
return 5; // TODO ?
}