h8: put register list enum under public

This commit is contained in:
hap 2024-09-07 20:23:32 +02:00
parent e6e32808d2
commit e3ba2c6444

View file

@ -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 @@ protected:
#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