From e3ba2c6444289748f14ccb3f5fe594cb9e05d363 Mon Sep 17 00:00:00 2001 From: hap Date: Sat, 7 Sep 2024 20:23:32 +0200 Subject: [PATCH] h8: put register list enum under public --- src/devices/cpu/h8/h8.h | 44 ++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/src/devices/cpu/h8/h8.h b/src/devices/cpu/h8/h8.h index 37f2661f98464..58929688ca5e9 100644 --- a/src/devices/cpu/h8/h8.h +++ b/src/devices/cpu/h8/h8.h @@ -24,6 +24,28 @@ class h8_device; class h8_device : public cpu_device, public device_nvram_interface { public: + enum { + H8_PC = 1, + H8_R0, + H8_R1, + H8_R2, + H8_R3, + H8_R4, + H8_R5, + H8_R6, + H8_R7, + H8_E0, + H8_E1, + H8_E2, + H8_E3, + H8_E4, + H8_E5, + H8_E6, + H8_E7, + H8_CCR, + H8_EXR + }; + enum { STATE_RESET = 0x10000, STATE_IRQ = 0x10001, @@ -438,26 +460,4 @@ class h8_device : public cpu_device, public device_nvram_interface { #undef O }; -enum { - H8_PC = 1, - H8_R0, - H8_R1, - H8_R2, - H8_R3, - H8_R4, - H8_R5, - H8_R6, - H8_R7, - H8_E0, - H8_E1, - H8_E2, - H8_E3, - H8_E4, - H8_E5, - H8_E6, - H8_E7, - H8_CCR, - H8_EXR -}; - #endif // MAME_CPU_H8_H8_H