summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/cocoloco.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/cocoloco.cpp')
-rw-r--r--src/mame/drivers/cocoloco.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/cocoloco.cpp b/src/mame/drivers/cocoloco.cpp
index d940c39a7a3..2dc58a884a5 100644
--- a/src/mame/drivers/cocoloco.cpp
+++ b/src/mame/drivers/cocoloco.cpp
@@ -211,8 +211,8 @@ public:
required_device<cpu_device> m_maincpu;
required_device<palette_device> m_palette;
- std::unique_ptr<UINT8[]> m_videoram;
- UINT8 m_videobank;
+ std::unique_ptr<uint8_t[]> m_videoram;
+ uint8_t m_videobank;
DECLARE_READ8_MEMBER(vram_r);
DECLARE_WRITE8_MEMBER(vram_w);
@@ -227,7 +227,7 @@ public:
virtual void video_start() override;
DECLARE_PALETTE_INIT(cocoloco);
- 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);
};
/***********************************
@@ -308,13 +308,13 @@ PALETTE_INIT_MEMBER(cocoloco_state, cocoloco)
void cocoloco_state::video_start()
{
- m_videoram = std::make_unique<UINT8[]>(0x2000 * 8);
+ m_videoram = std::make_unique<uint8_t[]>(0x2000 * 8);
save_pointer(NAME(m_videoram.get()), 0x2000 * 8);
save_item(NAME(m_videobank));
}
-UINT32 cocoloco_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
+uint32_t cocoloco_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
int x, y, count, xi;
@@ -614,7 +614,7 @@ DRIVER_INIT_MEMBER(cocoloco_state, cocob)
{
// Just for testing...
- UINT8 *rom = memregion("maincpu")->base();
+ uint8_t *rom = memregion("maincpu")->base();
rom[0xe18b] = rom[0xe18b] ^ 0x80; // with jsr $e337, the character doesn't turn and eat straight (maze included)