summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/dsp56k/inst.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/dsp56k/inst.cpp')
-rw-r--r--src/devices/cpu/dsp56k/inst.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/dsp56k/inst.cpp b/src/devices/cpu/dsp56k/inst.cpp
index b9c3b4b313c..9eb06bb7327 100644
--- a/src/devices/cpu/dsp56k/inst.cpp
+++ b/src/devices/cpu/dsp56k/inst.cpp
@@ -26,7 +26,7 @@ std::unique_ptr<Instruction> Instruction::decodeInstruction(const Opcode* opc,
if ((w0 & 0xff00) == 0x0500)
{
// Avoid "05-- 05--" recursion
- if (shifted) return NULL;
+ if (shifted) return nullptr;
std::unique_ptr<Instruction> op = decodeInstruction(opc, w0, w1, true);
if (op)
@@ -779,7 +779,7 @@ std::unique_ptr<Instruction> Instruction::decodeInstruction(const Opcode* opc,
return std::make_unique<Shfr>(opc, w0, w1);
}
- return NULL;
+ return nullptr;
}
}