diff options
Diffstat (limited to 'src/mame/machine/c117.cpp')
-rw-r--r-- | src/mame/machine/c117.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/machine/c117.cpp b/src/mame/machine/c117.cpp index 5ca4c429074..b1d86b3ee03 100644 --- a/src/mame/machine/c117.cpp +++ b/src/mame/machine/c117.cpp @@ -38,7 +38,7 @@ const device_type NAMCO_C117 = &device_creator<namco_c117_device>; // namco_c117_device - constructor //------------------------------------------------- -namco_c117_device::namco_c117_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) +namco_c117_device::namco_c117_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : device_t(mconfig, NAMCO_C117, "Namco C117 MMU", tag, owner, clock, "namco_c117", __FILE__), device_memory_interface(mconfig, *this), m_subres_cb(*this), @@ -160,7 +160,7 @@ WRITE8_MEMBER(namco_c117_device::sound_watchdog_w) } -void namco_c117_device::register_w(int whichcpu, offs_t offset, UINT8 data) +void namco_c117_device::register_w(int whichcpu, offs_t offset, uint8_t data) { int reg = (offset >> 9) & 0xf; bool unknown_reg = false; @@ -219,9 +219,9 @@ void namco_c117_device::register_w(int whichcpu, offs_t offset, UINT8 data) logerror("'%s' writing to unknown CUS117 register %04X = %02X\n", (whichcpu ? m_subcpu_tag : m_maincpu_tag), offset, data); } -void namco_c117_device::bankswitch(int whichcpu, int whichbank, int a0, UINT8 data) +void namco_c117_device::bankswitch(int whichcpu, int whichbank, int a0, uint8_t data) { - UINT32 &bank = m_offsets[whichcpu][whichbank]; + uint32_t &bank = m_offsets[whichcpu][whichbank]; // even writes set a22-a21; odd writes set a20-a13 if (a0 == 0) |