diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2016-10-22 13:13:17 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2016-10-22 13:13:17 +0200 |
commit | ddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch) | |
tree | a70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/mame/drivers/photon2.cpp | |
parent | 333bff8de64dfaeb98134000412796b4fdef970b (diff) |
NOTICE (TYPE NAME CONSOLIDATION)
Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8
also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
Diffstat (limited to 'src/mame/drivers/photon2.cpp')
-rw-r--r-- | src/mame/drivers/photon2.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/photon2.cpp b/src/mame/drivers/photon2.cpp index 4377068b3fa..af17cb91d56 100644 --- a/src/mame/drivers/photon2.cpp +++ b/src/mame/drivers/photon2.cpp @@ -38,12 +38,12 @@ public: required_device<cpu_device> m_maincpu; required_device<speaker_sound_device> m_speaker; - required_shared_ptr<UINT8> m_spectrum_video_ram; + required_shared_ptr<uint8_t> m_spectrum_video_ram; int m_spectrum_frame_number; int m_spectrum_flash_invert; - UINT8 m_spectrum_port_fe; - UINT8 m_nmi_enable; + uint8_t m_spectrum_port_fe; + uint8_t m_nmi_enable; DECLARE_WRITE8_MEMBER(membank_w); DECLARE_READ8_MEMBER(fe_r); @@ -54,7 +54,7 @@ public: virtual void video_start() override; DECLARE_PALETTE_INIT(photon2); - UINT32 screen_update_spectrum(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); + uint32_t screen_update_spectrum(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); void screen_eof_spectrum(screen_device &screen, bool state); TIMER_DEVICE_CALLBACK_MEMBER(spec_interrupt_hack); @@ -149,12 +149,12 @@ void photon2_state::screen_eof_spectrum(screen_device &screen, bool state) } } -static inline void spectrum_plot_pixel(bitmap_ind16 &bitmap, int x, int y, UINT32 color) +static inline void spectrum_plot_pixel(bitmap_ind16 &bitmap, int x, int y, uint32_t color) { - bitmap.pix16(y, x) = (UINT16)color; + bitmap.pix16(y, x) = (uint16_t)color; } -UINT32 photon2_state::screen_update_spectrum(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) +uint32_t photon2_state::screen_update_spectrum(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) { /* for now do a full-refresh */ int x, y, b, scrx, scry; |