diff options
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++) { |