summaryrefslogtreecommitdiffstats
path: root/src/mame/machine/decocpu7.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/decocpu7.cpp')
-rw-r--r--src/mame/machine/decocpu7.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/machine/decocpu7.cpp b/src/mame/machine/decocpu7.cpp
index dc6bb85dff8..61b959d061b 100644
--- a/src/mame/machine/decocpu7.cpp
+++ b/src/mame/machine/decocpu7.cpp
@@ -3,7 +3,7 @@
#include "decocpu7.h"
-deco_cpu7_device::deco_cpu7_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+deco_cpu7_device::deco_cpu7_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
m6502_device(mconfig, DECO_CPU7, "DECO CPU-7", tag, owner, clock, "decocpu7", __FILE__)
{
}
@@ -20,9 +20,9 @@ void deco_cpu7_device::device_reset()
static_cast<mi_decrypt *>(mintf)->had_written = false;
}
-UINT8 deco_cpu7_device::mi_decrypt::read_sync(UINT16 adr)
+uint8_t deco_cpu7_device::mi_decrypt::read_sync(uint16_t adr)
{
- UINT8 res = direct->read_byte(adr);
+ uint8_t res = direct->read_byte(adr);
if(had_written) {
had_written = false;
if((adr & 0x0104) == 0x0104)
@@ -31,7 +31,7 @@ UINT8 deco_cpu7_device::mi_decrypt::read_sync(UINT16 adr)
return res;
}
-void deco_cpu7_device::mi_decrypt::write(UINT16 adr, UINT8 val)
+void deco_cpu7_device::mi_decrypt::write(uint16_t adr, uint8_t val)
{
program->write_byte(adr, val);
had_written = true;