summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/dacholer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/dacholer.cpp')
-rw-r--r--src/mame/drivers/dacholer.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/mame/drivers/dacholer.cpp b/src/mame/drivers/dacholer.cpp
index 7f0fbba2064..9dbf09247d1 100644
--- a/src/mame/drivers/dacholer.cpp
+++ b/src/mame/drivers/dacholer.cpp
@@ -63,23 +63,23 @@ public:
required_device<generic_latch_8_device> m_soundlatch;
/* memory pointers */
- required_shared_ptr<UINT8> m_bgvideoram;
- required_shared_ptr<UINT8> m_fgvideoram;
- required_shared_ptr<UINT8> m_spriteram;
+ required_shared_ptr<uint8_t> m_bgvideoram;
+ required_shared_ptr<uint8_t> m_fgvideoram;
+ required_shared_ptr<uint8_t> m_spriteram;
/* video-related */
tilemap_t *m_bg_tilemap;
tilemap_t *m_fg_tilemap;
int m_bg_bank;
- UINT8 m_scroll_x;
- UINT8 m_scroll_y;
+ uint8_t m_scroll_x;
+ uint8_t m_scroll_y;
/* sound-related */
int m_msm_data;
int m_msm_toggle;
- UINT8 m_snd_interrupt_enable;
- UINT8 m_music_interrupt_enable;
- UINT8 m_snd_ack;
+ uint8_t m_snd_interrupt_enable;
+ uint8_t m_music_interrupt_enable;
+ uint8_t m_snd_ack;
DECLARE_WRITE8_MEMBER(bg_scroll_x_w);
DECLARE_WRITE8_MEMBER(bg_scroll_y_w);
@@ -100,7 +100,7 @@ public:
virtual void machine_reset() override;
virtual void video_start() override;
DECLARE_PALETTE_INIT(dacholer);
- UINT32 screen_update_dacholer(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+ uint32_t screen_update_dacholer(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
INTERRUPT_GEN_MEMBER(sound_irq);
void draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect );
DECLARE_WRITE_LINE_MEMBER(adpcm_int);
@@ -165,7 +165,7 @@ void dacholer_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &clipre
}
}
-UINT32 dacholer_state::screen_update_dacholer(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
+uint32_t dacholer_state::screen_update_dacholer(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
if (flip_screen())
{
@@ -607,7 +607,7 @@ void dacholer_state::machine_reset()
/* guess: use the same resistor values as Crazy Climber (needs checking on the real HW) */
PALETTE_INIT_MEMBER(dacholer_state, dacholer)
{
- const UINT8 *color_prom = memregion("proms")->base();
+ const uint8_t *color_prom = memregion("proms")->base();
static const int resistances_rg[3] = { 1000, 470, 220 };
static const int resistances_b [2] = { 470, 220 };
double weights_rg[3], weights_b[2];