summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/clipper/clipper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/clipper/clipper.cpp')
-rw-r--r--src/devices/cpu/clipper/clipper.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/cpu/clipper/clipper.cpp b/src/devices/cpu/clipper/clipper.cpp
index abbafaf2c72..9282525205b 100644
--- a/src/devices/cpu/clipper/clipper.cpp
+++ b/src/devices/cpu/clipper/clipper.cpp
@@ -452,7 +452,8 @@ int clipper_device::execute_instruction ()
case 0x16:
// popw: pop word
m_r[R2] = m_data->read_dword(m_r[R1]);
- m_r[R1] += 4;
+ if (R1 != R2)
+ m_r[R1] += 4;
// TRAPS: C,U,A,P,R
break;