summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/20pacgal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/20pacgal.h')
-rw-r--r--src/mame/includes/20pacgal.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/mame/includes/20pacgal.h b/src/mame/includes/20pacgal.h
index f9561c57f3a..03e3fc39d7c 100644
--- a/src/mame/includes/20pacgal.h
+++ b/src/mame/includes/20pacgal.h
@@ -25,29 +25,29 @@ public:
m_eeprom(*this, "eeprom") { }
/* memory pointers */
- required_shared_ptr<UINT8> m_video_ram;
- required_shared_ptr<UINT8> m_char_gfx_ram;
- required_shared_ptr<UINT8> m_stars_seed;
- required_shared_ptr<UINT8> m_stars_ctrl;
- required_shared_ptr<UINT8> m_flip;
+ required_shared_ptr<uint8_t> m_video_ram;
+ required_shared_ptr<uint8_t> m_char_gfx_ram;
+ required_shared_ptr<uint8_t> m_stars_seed;
+ required_shared_ptr<uint8_t> m_stars_ctrl;
+ required_shared_ptr<uint8_t> m_flip;
/* machine state */
- UINT8 m_game_selected; /* 0 = Ms. Pac-Man, 1 = Galaga */
+ uint8_t m_game_selected; /* 0 = Ms. Pac-Man, 1 = Galaga */
/* devices */
required_device<cpu_device> m_maincpu;
required_device<eeprom_serial_93cxx_device> m_eeprom;
/* memory */
- UINT8 m_sprite_gfx_ram[0x2000];
- UINT8 m_sprite_ram[0x180];
- UINT8 m_sprite_color_lookup[0x100];
- UINT8 m_ram_48000[0x2000];
+ uint8_t m_sprite_gfx_ram[0x2000];
+ uint8_t m_sprite_ram[0x180];
+ uint8_t m_sprite_color_lookup[0x100];
+ uint8_t m_ram_48000[0x2000];
/* 25pacman and 20pacgal store the sprite palette at a different address, this is a hardware difference and confirmed NOT to be a register */
- UINT8 m_sprite_pal_base;
+ uint8_t m_sprite_pal_base;
- UINT8 m_irq_mask;
+ uint8_t m_irq_mask;
DECLARE_WRITE8_MEMBER(irqack_w);
DECLARE_WRITE8_MEMBER(timer_pulse_w);
DECLARE_WRITE8_MEMBER(_20pacgal_coin_counter_w);
@@ -60,7 +60,7 @@ public:
DECLARE_DRIVER_INIT(20pacgal);
virtual void machine_start() override;
virtual void machine_reset() override;
- UINT32 screen_update_20pacgal(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
+ uint32_t screen_update_20pacgal(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
INTERRUPT_GEN_MEMBER(vblank_irq);
void get_pens(pen_t *pens);
void do_pen_lookup(bitmap_rgb32 &bitmap, const rectangle &cliprect);
@@ -68,7 +68,7 @@ public:
void draw_chars(bitmap_rgb32 &bitmap);
void draw_stars(bitmap_rgb32 &bitmap, const rectangle &cliprect );
void draw_sprite(bitmap_rgb32 &bitmap, int y, int x,
- UINT8 code, UINT8 color, int flip_y, int flip_x);
+ uint8_t code, uint8_t color, int flip_y, int flip_x);
void common_save_state();
};