diff options
author | Dirk Best <mail@dirk-best.de> | 2014-05-25 09:21:42 +0000 |
---|---|---|
committer | Dirk Best <mail@dirk-best.de> | 2014-05-25 09:21:42 +0000 |
commit | cd3bccb3858d022b350da5462bd653633bf052dd (patch) | |
tree | d41f2beb0a1ebed858b8f8fd954a3bcddafe51fc /src/mame/includes/amiga.h | |
parent | 4cff893ba0ffa48ce2d9853bb1d640cdbf33d355 (diff) |
Amiga: Changed constants to enum to avoid some issues with debug builds.
Diffstat (limited to 'src/mame/includes/amiga.h')
-rw-r--r-- | src/mame/includes/amiga.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/mame/includes/amiga.h b/src/mame/includes/amiga.h index b3ad630dac1..75ce2778c1e 100644 --- a/src/mame/includes/amiga.h +++ b/src/mame/includes/amiga.h @@ -460,12 +460,15 @@ public: static const int CLK_E_NTSC = CLK_7M_NTSC / 10; // screen layout - static const int SCREEN_WIDTH = 910; - static const int SCREEN_HEIGHT_PAL = 312; - static const int SCREEN_HEIGHT_NTSC = 262; - static const int VBLANK_PAL = 29; // 26 - static const int VBLANK_NTSC = 21; - static const int HBLANK = 186; + enum + { + SCREEN_WIDTH = 910, + SCREEN_HEIGHT_PAL = 312, + SCREEN_HEIGHT_NTSC = 262, + VBLANK_PAL = 29, // 26 + VBLANK_NTSC = 21, + HBLANK = 186 + }; required_shared_ptr<UINT16> m_chip_ram; required_shared_ptr<UINT16> m_custom_regs; |