summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/m68000/m68kcpu.h
diff options
context:
space:
mode:
author arbee <rb6502@users.noreply.github.com>2018-05-01 21:34:55 -0400
committer arbee <rb6502@users.noreply.github.com>2018-05-01 21:34:55 -0400
commite651a1678d69a095d7411c3863df34c66bbb29ac (patch)
tree32d8c8bcb2832905430ed96fb0d2dc21314aedb1 /src/devices/cpu/m68000/m68kcpu.h
parentb5fabb52ebfe691bd725db3666577e4c1224c5ca (diff)
begin preliminary GCC 8 support (nw)
Diffstat (limited to 'src/devices/cpu/m68000/m68kcpu.h')
-rw-r--r--src/devices/cpu/m68000/m68kcpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/m68000/m68kcpu.h b/src/devices/cpu/m68000/m68kcpu.h
index 4c6db9f4490..42717f8a3a2 100644
--- a/src/devices/cpu/m68000/m68kcpu.h
+++ b/src/devices/cpu/m68000/m68kcpu.h
@@ -198,7 +198,7 @@ static constexpr uint32_t ROR_32(uint32_t A, uint32_t C) { return MASK_OUT_AB
/* Access the CPU registers */
inline uint32_t (&REG_DA())[16] { return m_dar; } /* easy access to data and address regs */
inline uint32_t (&REG_D())[16] { return m_dar; }
-inline uint32_t (*REG_A()) { return (m_dar+8); }
+inline uint32_t *REG_A() { return (m_dar+8); }
inline uint32_t (&REG_SP_BASE())[7]{ return m_sp; }
inline uint32_t &REG_USP() { return m_sp[0]; }
inline uint32_t &REG_ISP() { return m_sp[4]; }