aboutsummaryrefslogtreecommitdiff
path: root/src/SPU.cpp
diff options
context:
space:
mode:
authorJesse Talavera <jesse@jesse.tg>2023-12-28 08:54:31 -0500
committerGitHub <noreply@github.com>2023-12-28 14:54:31 +0100
commita4b2b0c40df15713a5efa114310bf78fd369d0f4 (patch)
tree612c66b66a908bf7a91ecefcc61ba5971b3455fe /src/SPU.cpp
parent6d0de509c4f5f38198653be9b751c513a0a457a4 (diff)
Resolve or silence some warnings (#1905)
* Resolve some warnings - Their frequent appearance in the build logs is driving me nuts * Silence warnings about `offsetof` * Don't apply `-Wno-invalid-offset` to C, only to C++
Diffstat (limited to 'src/SPU.cpp')
-rw-r--r--src/SPU.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/SPU.cpp b/src/SPU.cpp
index f0d5946..8630709 100644
--- a/src/SPU.cpp
+++ b/src/SPU.cpp
@@ -621,6 +621,8 @@ s32 SPUChannel::Run()
(PrevSample[0] * InterpCubic[samplepos][2]) +
(val * InterpCubic[samplepos][3])) >> 14;
break;
+ default:
+ break;
}
}