From ddb290d5f615019c33c42b8d94e5a5254cabcf33 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sat, 22 Oct 2016 13:13:17 +0200 Subject: 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 --- src/devices/bus/nes/event.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/devices/bus/nes/event.cpp') diff --git a/src/devices/bus/nes/event.cpp b/src/devices/bus/nes/event.cpp index e8cc13e44bc..1e6c9085963 100644 --- a/src/devices/bus/nes/event.cpp +++ b/src/devices/bus/nes/event.cpp @@ -35,7 +35,7 @@ const device_type NES_EVENT = &device_creator; -nes_event_device::nes_event_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) +nes_event_device::nes_event_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : nes_sxrom_device(mconfig, NES_EVENT, "NES Cart Event PCB", tag, owner, clock, "nes_event", __FILE__), m_dsw(*this, "DIPSW"), m_nwc_init(0), @@ -113,7 +113,7 @@ void nes_event_device::set_prg() // printf("enter with %d and reg1 0x%x - reg3 0x%x\n", m_nwc_init, m_reg[1], m_reg[3]); // reg[1] is different from base MMC-1! // bit 0 is ignored, bit1/bit3 are used for PRG switch, bit4 is used for the timer - UINT8 temp = (m_reg[1] >> 1) & 7; + uint8_t temp = (m_reg[1] >> 1) & 7; // initially PRG is fixed, until bit4 of reg1 is set to 1 and then to 0 switch (m_nwc_init) -- cgit v1.2.3-70-g09d2