diff options
author | 2016-10-22 13:13:17 +0200 | |
---|---|---|
committer | 2016-10-22 13:13:17 +0200 | |
commit | ddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch) | |
tree | a70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/mame/drivers/cesclass.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/cesclass.cpp')
-rw-r--r-- | src/mame/drivers/cesclass.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/cesclass.cpp b/src/mame/drivers/cesclass.cpp index 73622bdbc43..7897f551c1c 100644 --- a/src/mame/drivers/cesclass.cpp +++ b/src/mame/drivers/cesclass.cpp @@ -44,7 +44,7 @@ public: DECLARE_WRITE16_MEMBER(outputs_w); - UINT32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); + uint32_t screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); DECLARE_PALETTE_INIT(cesclassic); protected: @@ -52,7 +52,7 @@ protected: required_device<cpu_device> m_maincpu; required_device<okim6295_device> m_oki; - required_shared_ptr<UINT16> m_vram; + required_shared_ptr<uint16_t> m_vram; required_device<palette_device> m_palette; // driver_device overrides virtual void video_start() override; @@ -64,7 +64,7 @@ void cesclassic_state::video_start() { } -UINT32 cesclassic_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) +uint32_t cesclassic_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) { int x,y,xi; @@ -77,7 +77,7 @@ UINT32 cesclassic_state::screen_update(screen_device &screen, bitmap_rgb32 &bitm { for(xi=0;xi<16;xi++) { - UINT8 color; + uint8_t color; color = (((m_vram[x+y*16+0x400])>>(15-xi)) & 1); color |= (((m_vram[x+y*16])>>(15-xi)) & 1)<<1; |