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/jchan.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/jchan.cpp')
-rw-r--r-- | src/mame/drivers/jchan.cpp | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/mame/drivers/jchan.cpp b/src/mame/drivers/jchan.cpp index fa8857ddff3..e24d28f5be2 100644 --- a/src/mame/drivers/jchan.cpp +++ b/src/mame/drivers/jchan.cpp @@ -189,19 +189,19 @@ public: required_device<sknsspr_device> m_spritegen2; required_device<kaneko_view2_tilemap_device> m_view2_0; - required_shared_ptr<UINT16> m_spriteram_1; - required_shared_ptr<UINT16> m_sprregs_1; - required_shared_ptr<UINT16> m_spriteram_2; - required_shared_ptr<UINT16> m_sprregs_2; - required_shared_ptr<UINT16> m_mainsub_shared_ram; - required_shared_ptr<UINT16> m_ctrl; + required_shared_ptr<uint16_t> m_spriteram_1; + required_shared_ptr<uint16_t> m_sprregs_1; + required_shared_ptr<uint16_t> m_spriteram_2; + required_shared_ptr<uint16_t> m_sprregs_2; + required_shared_ptr<uint16_t> m_mainsub_shared_ram; + required_shared_ptr<uint16_t> m_ctrl; std::unique_ptr<bitmap_ind16> m_sprite_bitmap_1; std::unique_ptr<bitmap_ind16> m_sprite_bitmap_2; - std::unique_ptr<UINT32[]> m_sprite_ram32_1; - std::unique_ptr<UINT32[]> m_sprite_ram32_2; - std::unique_ptr<UINT32[]> m_sprite_regs32_1; - std::unique_ptr<UINT32[]> m_sprite_regs32_2; + std::unique_ptr<uint32_t[]> m_sprite_ram32_1; + std::unique_ptr<uint32_t[]> m_sprite_ram32_2; + std::unique_ptr<uint32_t[]> m_sprite_regs32_1; + std::unique_ptr<uint32_t[]> m_sprite_regs32_2; int m_irq_sub_enable; DECLARE_WRITE16_MEMBER(ctrl_w); @@ -216,7 +216,7 @@ public: DECLARE_DRIVER_INIT(jchan); virtual void video_start() override; - 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); TIMER_DEVICE_CALLBACK_MEMBER(vblank); }; @@ -266,11 +266,11 @@ TIMER_DEVICE_CALLBACK_MEMBER(jchan_state::vblank) void jchan_state::video_start() { /* so we can use sknsspr.c */ - m_sprite_ram32_1 = std::make_unique<UINT32[]>(0x4000/4); - m_sprite_ram32_2 = std::make_unique<UINT32[]>(0x4000/4); + m_sprite_ram32_1 = std::make_unique<uint32_t[]>(0x4000/4); + m_sprite_ram32_2 = std::make_unique<uint32_t[]>(0x4000/4); - m_sprite_regs32_1 = std::make_unique<UINT32[]>(0x40/4); - m_sprite_regs32_2 = std::make_unique<UINT32[]>(0x40/4); + m_sprite_regs32_1 = std::make_unique<uint32_t[]>(0x40/4); + m_sprite_regs32_2 = std::make_unique<uint32_t[]>(0x40/4); m_sprite_bitmap_1 = std::make_unique<bitmap_ind16>(1024,1024); m_sprite_bitmap_2 = std::make_unique<bitmap_ind16>(1024,1024); @@ -291,14 +291,14 @@ void jchan_state::video_start() -UINT32 jchan_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) +uint32_t jchan_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) { int x,y; - UINT16* src1; - UINT16* src2; - UINT16* dst; - UINT16 pixdata1; - UINT16 pixdata2; + uint16_t* src1; + uint16_t* src2; + uint16_t* dst; + uint16_t pixdata1; + uint16_t pixdata2; bitmap.fill(m_palette->black_pen(), cliprect); |