Skip to content

Commit

Permalink
h8: put register list enum under public
Browse files Browse the repository at this point in the history
  • Loading branch information
happppp committed Sep 7, 2024
1 parent e6e3280 commit e3ba2c6
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions src/devices/cpu/h8/h8.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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

0 comments on commit e3ba2c6

Please sign in to comment.