summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/sh/sh.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/sh/sh.cpp')
-rw-r--r--src/devices/cpu/sh/sh.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/cpu/sh/sh.cpp b/src/devices/cpu/sh/sh.cpp
index bdc0977e3fc..ca867883c47 100644
--- a/src/devices/cpu/sh/sh.cpp
+++ b/src/devices/cpu/sh/sh.cpp
@@ -1972,7 +1972,7 @@ void sh_common_execution::execute_one(const uint16_t opcode)
switch(opcode & 0xf000)
{
case 0x0000: execute_one_0000(opcode); break;
- case 0x1000: MOVLS4(Rm, opcode & 0x0f, Rn); break;
+ case 0x1000: MOVLS4(Rm, opcode & 0x0f, Rn); break;
case 0x2000: op0010(opcode); break;
case 0x3000: op0011(opcode); break;
case 0x4000: execute_one_4000(opcode); break;
@@ -2531,10 +2531,10 @@ void sh_common_execution::generate_checksum_block(drcuml_block *block, compiler_
else
{
uint32_t sum = 0;
- void *base;
+ void *base;
if (m_xor == 0) base = m_direct->read_ptr(seqhead->physpc, SH2_CODE_XOR(0));
- else if (m_xor == 1) base = m_direct->read_ptr(seqhead->physpc, SH34LE_CODE_XOR(0));
- else base = m_direct->read_ptr(seqhead->physpc, SH34BE_CODE_XOR(0));
+ else if (m_xor == 1) base = m_direct->read_ptr(seqhead->physpc, SH34LE_CODE_XOR(0));
+ else base = m_direct->read_ptr(seqhead->physpc, SH34BE_CODE_XOR(0));
UML_LOAD(block, I0, base, 0, SIZE_WORD, SCALE_x4); // load i0,base,word
sum += seqhead->opptr.w[0];