summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/grfd2301.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/grfd2301.cpp')
-rw-r--r--src/mame/drivers/grfd2301.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/grfd2301.cpp b/src/mame/drivers/grfd2301.cpp
index cdbac8b8394..087d86273e1 100644
--- a/src/mame/drivers/grfd2301.cpp
+++ b/src/mame/drivers/grfd2301.cpp
@@ -45,9 +45,9 @@ public:
public:
virtual void machine_reset() override;
- const UINT8 *m_p_chargen;
- UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
- required_shared_ptr<UINT8> m_p_videoram;
+ const uint8_t *m_p_chargen;
+ uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+ required_shared_ptr<uint8_t> m_p_videoram;
private:
required_device<cpu_device> m_maincpu;
@@ -73,16 +73,16 @@ void grfd2301_state::machine_reset()
m_maincpu->set_pc(0xe000);
}
-UINT32 grfd2301_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
+uint32_t grfd2301_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
- UINT8 y,ra,chr,gfx;
- UINT16 sy=0,ma=0,x;
+ uint8_t y,ra,chr,gfx;
+ uint16_t sy=0,ma=0,x;
for (y = 0; y < 24; y++)
{
for (ra = 0; ra < 10; ra++)
{
- UINT16 *p = &bitmap.pix16(sy++);
+ uint16_t *p = &bitmap.pix16(sy++);
for (x = 0; x < 80; x++)
{