From 92af703f2914fbdee14ee7b78e624a82de1145e7 Mon Sep 17 00:00:00 2001 From: Dentomologist Date: Fri, 3 Jun 2022 22:18:54 -0700 Subject: [PATCH] DSPAssembler: Fix -Wswitch warning --- Source/Core/Core/DSP/DSPAssembler.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Core/Core/DSP/DSPAssembler.cpp b/Source/Core/Core/DSP/DSPAssembler.cpp index ed181b7a3c..fccbfd84d6 100644 --- a/Source/Core/Core/DSP/DSPAssembler.cpp +++ b/Source/Core/Core/DSP/DSPAssembler.cpp @@ -584,7 +584,6 @@ bool DSPAssembler::VerifyParams(const DSPOPCTemplate* opc, param_t* par, size_t } } break; - case P_ACCL: if ((int)par[i].val < DSP_REG_ACL0 || (int)par[i].val > DSP_REG_ACL1) { @@ -602,6 +601,8 @@ bool DSPAssembler::VerifyParams(const DSPOPCTemplate* opc, param_t* par, size_t } } break; + default: + break; } continue; }