summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/ssem/ssem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/ssem/ssem.cpp')
-rw-r--r--src/devices/cpu/ssem/ssem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/ssem/ssem.cpp b/src/devices/cpu/ssem/ssem.cpp
index 0b2af498b95..0dfec9b9cfb 100644
--- a/src/devices/cpu/ssem/ssem.cpp
+++ b/src/devices/cpu/ssem/ssem.cpp
@@ -25,7 +25,7 @@ CPU_DISASSEMBLE( ssem );
// The de facto snapshot format for other SSEM simulators stores the data physically in that format as well.
// Therefore, in MESS, every 32-bit word has its bits reversed, too, and as a result the values must be
// un-reversed before being used.
-INLINE UINT32 reverse(UINT32 v)
+static inline UINT32 reverse(UINT32 v)
{
// Taken from http://www-graphics.stanford.edu/~seander/bithacks.html#ReverseParallel
// swap odd and even bits
@@ -140,7 +140,7 @@ const address_space_config *ssem_device::memory_space_config(address_spacenum sp
{
return &m_program_config;
}
- return NULL;
+ return nullptr;
}