summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/invqix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/invqix.cpp')
-rw-r--r--src/mame/drivers/invqix.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/invqix.cpp b/src/mame/drivers/invqix.cpp
index 02bb74ee05c..20f755cc13d 100644
--- a/src/mame/drivers/invqix.cpp
+++ b/src/mame/drivers/invqix.cpp
@@ -133,7 +133,7 @@ public:
m_vram(*this, "vram")
{ }
- UINT32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
+ uint32_t screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
DECLARE_READ16_MEMBER(port3_r);
DECLARE_WRITE16_MEMBER(port3_w);
@@ -150,13 +150,13 @@ protected:
// devices
required_device<cpu_device> m_maincpu;
required_device<eeprom_serial_93cxx_device> m_eeprom;
- required_shared_ptr<UINT16> m_vram;
+ required_shared_ptr<uint16_t> m_vram;
// driver_device overrides
virtual void video_start() override;
private:
- UINT16 m_vctl; // 0000 for normal, 0001 for flip, 0100 when going to change (blank?)
+ uint16_t m_vctl; // 0000 for normal, 0001 for flip, 0100 when going to change (blank?)
};
@@ -165,7 +165,7 @@ void invqix_state::video_start()
save_item(NAME(m_vctl));
}
-UINT32 invqix_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
+uint32_t invqix_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
{
int x,y;
@@ -181,7 +181,7 @@ UINT32 invqix_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap,
{
for(x=0;x<256;x++)
{
- UINT8 r,g,b;
+ uint8_t r,g,b;
int pen_data;
pen_data = (m_vram[(x+y*256)]);
@@ -203,7 +203,7 @@ UINT32 invqix_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap,
{
for(x=0;x<256;x++)
{
- UINT8 r,g,b;
+ uint8_t r,g,b;
int pen_data;
pen_data = (m_vram[(256-x)+((256-y)*256)]);