diff --git a/src/emu/cpu/lr35902/lr35902.c b/src/emu/cpu/lr35902/lr35902.c index 25633826713..12603163901 100644 --- a/src/emu/cpu/lr35902/lr35902.c +++ b/src/emu/cpu/lr35902/lr35902.c @@ -46,6 +46,11 @@ #define HALTED 0x02 +const UINT8 lr35902_cpu_device::FLAG_Z = 0x80; +const UINT8 lr35902_cpu_device::FLAG_N = 0x40; +const UINT8 lr35902_cpu_device::FLAG_H = 0x20; +const UINT8 lr35902_cpu_device::FLAG_C = 0x10; + //************************************************************************** // LR35902 DEVICE //************************************************************************** diff --git a/src/emu/cpu/lr35902/lr35902.h b/src/emu/cpu/lr35902/lr35902.h index 95e8f4a16a7..7c087cd0bc0 100644 --- a/src/emu/cpu/lr35902/lr35902.h +++ b/src/emu/cpu/lr35902/lr35902.h @@ -112,10 +112,10 @@ protected: const struct lr35902_config *m_config; /* Flag bit definitions */ - static const UINT8 FLAG_Z = 0x80; - static const UINT8 FLAG_N = 0x40; - static const UINT8 FLAG_H = 0x20; - static const UINT8 FLAG_C = 0x10; + static const UINT8 FLAG_Z; + static const UINT8 FLAG_N; + static const UINT8 FLAG_H; + static const UINT8 FLAG_C; }; extern const device_type LR35902;