diff options
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); |