From 2a71385020eec30616195fecdeb8468add429e6b Mon Sep 17 00:00:00 2001 From: hap Date: Tue, 7 Jul 2020 19:35:51 +0200 Subject: [PATCH] pdp11.h: make the enum uint16_t --- src/devices/machine/pdp11.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/devices/machine/pdp11.h b/src/devices/machine/pdp11.h index 7438184b39d..98b7553a17c 100644 --- a/src/devices/machine/pdp11.h +++ b/src/devices/machine/pdp11.h @@ -2,16 +2,17 @@ // copyright-holders:Sergey Svishchev /***************************************************************************** * - * includes/pdp11.h + * machine/pdp11.h * ****************************************************************************/ -#ifndef PDP11_H_ -#define PDP11_H_ +#ifndef MAME_MACHINE_PDP11_H_ +#define MAME_MACHINE_PDP11_H_ // bit definitions for generic device CSR -enum { +enum : uint16_t +{ CSR_GO = 0000001, CSR_IE = 0000100, // interrupt enable CSR_DONE = 0000200, @@ -31,4 +32,4 @@ enum { do { *_storage = ((*_storage & ~_mask) | (_data & _mask)); } while (0) -#endif /* PDP11_H_ */ +#endif /* MAME_MACHINE_PDP11_H_ */