summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/saturn/saturn.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/saturn/saturn.cpp')
-rw-r--r--src/devices/cpu/saturn/saturn.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/cpu/saturn/saturn.cpp b/src/devices/cpu/saturn/saturn.cpp
index 159d2ecd037..3f3f05b05bd 100644
--- a/src/devices/cpu/saturn/saturn.cpp
+++ b/src/devices/cpu/saturn/saturn.cpp
@@ -42,7 +42,7 @@
const device_type SATURN = &device_creator<saturn_device>;
-saturn_device::saturn_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+saturn_device::saturn_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: cpu_device(mconfig, SATURN, "HP Saturn", tag, owner, clock, "saturn_cpu", __FILE__)
, m_program_config("program", ENDIANNESS_LITTLE, 8, 20, 0)
, m_out_func(*this)
@@ -58,7 +58,7 @@ saturn_device::saturn_device(const machine_config &mconfig, const char *tag, dev
}
-offs_t saturn_device::disasm_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options)
+offs_t saturn_device::disasm_disassemble(char *buffer, offs_t pc, const uint8_t *oprom, const uint8_t *opram, uint32_t options)
{
extern CPU_DISASSEMBLE( saturn );
return CPU_DISASSEMBLE_NAME(saturn)(this, buffer, pc, oprom, opram, options);
@@ -394,7 +394,7 @@ void saturn_device::execute_set_input(int inputnum, int state)
}
-void saturn_device::IntReg64(Saturn64 r, INT64 d)
+void saturn_device::IntReg64(Saturn64 r, int64_t d)
{
int i;
for (i=0; i<16; i++)
@@ -402,11 +402,11 @@ void saturn_device::IntReg64(Saturn64 r, INT64 d)
}
-INT64 saturn_device::Reg64Int(Saturn64 r)
+int64_t saturn_device::Reg64Int(Saturn64 r)
{
- INT64 x = 0;
+ int64_t x = 0;
int i;
for (i=0; i<16; i++)
- x |= (INT64) r[i] << (4*i);
+ x |= (int64_t) r[i] << (4*i);
return x;
}