summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/changela.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/changela.h')
-rw-r--r--src/mame/includes/changela.h64
1 files changed, 32 insertions, 32 deletions
diff --git a/src/mame/includes/changela.h b/src/mame/includes/changela.h
index 232e2e783ce..e35be8900cd 100644
--- a/src/mame/includes/changela.h
+++ b/src/mame/includes/changela.h
@@ -16,51 +16,51 @@ public:
m_palette(*this, "palette") { }
/* memory pointers */
- required_shared_ptr<UINT8> m_spriteram;
- required_shared_ptr<UINT8> m_videoram;
- required_shared_ptr<UINT8> m_colorram;
+ required_shared_ptr<uint8_t> m_spriteram;
+ required_shared_ptr<uint8_t> m_videoram;
+ required_shared_ptr<uint8_t> m_colorram;
/* video-related */
bitmap_ind16 m_obj0_bitmap;
bitmap_ind16 m_river_bitmap;
bitmap_ind16 m_tree0_bitmap;
bitmap_ind16 m_tree1_bitmap;
- std::unique_ptr<UINT8[]> m_tree_ram;
- std::unique_ptr<UINT8[]> m_memory_devices;
- UINT32 m_mem_dev_selected; /* an offset within memory_devices area */
- UINT32 m_slopeROM_bank;
- UINT8 m_tree_en;
- UINT8 m_horizon;
- UINT8 m_v_count_river;
- UINT8 m_v_count_tree;
+ std::unique_ptr<uint8_t[]> m_tree_ram;
+ std::unique_ptr<uint8_t[]> m_memory_devices;
+ uint32_t m_mem_dev_selected; /* an offset within memory_devices area */
+ uint32_t m_slopeROM_bank;
+ uint8_t m_tree_en;
+ uint8_t m_horizon;
+ uint8_t m_v_count_river;
+ uint8_t m_v_count_tree;
int m_tree_on[2];
emu_timer* m_scanline_timer;
/* misc */
- UINT8 m_tree0_col;
- UINT8 m_tree1_col;
- UINT8 m_left_bank_col;
- UINT8 m_right_bank_col;
- UINT8 m_boat_shore_col;
- UINT8 m_collision_reset;
- UINT8 m_tree_collision_reset;
- UINT8 m_prev_value_31;
+ uint8_t m_tree0_col;
+ uint8_t m_tree1_col;
+ uint8_t m_left_bank_col;
+ uint8_t m_right_bank_col;
+ uint8_t m_boat_shore_col;
+ uint8_t m_collision_reset;
+ uint8_t m_tree_collision_reset;
+ uint8_t m_prev_value_31;
int m_dir_31;
/* mcu-related */
- UINT8 m_port_a_in;
- UINT8 m_port_a_out;
- UINT8 m_ddr_a;
- UINT8 m_port_b_out;
- UINT8 m_ddr_b;
- UINT8 m_port_c_in;
- UINT8 m_port_c_out;
- UINT8 m_ddr_c;
+ uint8_t m_port_a_in;
+ uint8_t m_port_a_out;
+ uint8_t m_ddr_a;
+ uint8_t m_port_b_out;
+ uint8_t m_ddr_b;
+ uint8_t m_port_c_in;
+ uint8_t m_port_c_out;
+ uint8_t m_ddr_c;
- UINT8 m_mcu_out;
- UINT8 m_mcu_in;
- UINT8 m_mcu_pc_1;
- UINT8 m_mcu_pc_0;
+ uint8_t m_mcu_out;
+ uint8_t m_mcu_in;
+ uint8_t m_mcu_pc_1;
+ uint8_t m_mcu_pc_0;
/* devices */
optional_device<cpu_device> m_mcu;
@@ -94,7 +94,7 @@ public:
virtual void machine_start() override;
virtual void machine_reset() override;
virtual void video_start() override;
- UINT32 screen_update_changela(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+ uint32_t screen_update_changela(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
INTERRUPT_GEN_MEMBER(chl_mcu_irq);
TIMER_CALLBACK_MEMBER(changela_scanline_callback);
TIMER_DEVICE_CALLBACK_MEMBER(changela_scanline);