diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2016-10-22 13:13:17 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2016-10-22 13:13:17 +0200 |
commit | ddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch) | |
tree | a70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/mame/drivers/shougi.cpp | |
parent | 333bff8de64dfaeb98134000412796b4fdef970b (diff) |
NOTICE (TYPE NAME CONSOLIDATION)
Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8
also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
Diffstat (limited to 'src/mame/drivers/shougi.cpp')
-rw-r--r-- | src/mame/drivers/shougi.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/shougi.cpp b/src/mame/drivers/shougi.cpp index 41f9c547922..05a90de94ed 100644 --- a/src/mame/drivers/shougi.cpp +++ b/src/mame/drivers/shougi.cpp @@ -101,10 +101,10 @@ public: required_device<cpu_device> m_subcpu; required_device<alpha_8201_device> m_alpha_8201; - required_shared_ptr<UINT8> m_videoram; + required_shared_ptr<uint8_t> m_videoram; - UINT8 m_control[8]; - UINT8 m_nmi_enabled; + uint8_t m_control[8]; + uint8_t m_nmi_enabled; int m_r; DECLARE_WRITE8_MEMBER(control_w); @@ -112,7 +112,7 @@ public: DECLARE_PALETTE_INIT(shougi); - UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); + uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); INTERRUPT_GEN_MEMBER(vblank_nmi); virtual void machine_start() override; @@ -165,7 +165,7 @@ void shougi_state::machine_reset() PALETTE_INIT_MEMBER(shougi_state, shougi) { - const UINT8 *color_prom = memregion("proms")->base(); + const uint8_t *color_prom = memregion("proms")->base(); static const int resistances_b[2] = { 470, 220 }; static const int resistances_rg[3] = { 1000, 470, 220 }; double weights_r[3], weights_g[3], weights_b[2]; @@ -201,7 +201,7 @@ PALETTE_INIT_MEMBER(shougi_state, shougi) } -UINT32 shougi_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) +uint32_t shougi_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) { for (int offs = 0; offs < 0x4000; offs++) { |