summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-06-01 07:40:18 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2022-06-01 07:40:18 +0200
commita32f6e9d8e994bfdc5a1f67c38dd3a5123710440 (patch)
treebb2eb7a4a8350385fad8703cd1a8fcc92ff0f82a /src
parentMerge pull request #8394 from liamwhite/debugger (diff)
downloadyuzu-a32f6e9d8e994bfdc5a1f67c38dd3a5123710440.tar
yuzu-a32f6e9d8e994bfdc5a1f67c38dd3a5123710440.tar.gz
yuzu-a32f6e9d8e994bfdc5a1f67c38dd3a5123710440.tar.bz2
yuzu-a32f6e9d8e994bfdc5a1f67c38dd3a5123710440.tar.lz
yuzu-a32f6e9d8e994bfdc5a1f67c38dd3a5123710440.tar.xz
yuzu-a32f6e9d8e994bfdc5a1f67c38dd3a5123710440.tar.zst
yuzu-a32f6e9d8e994bfdc5a1f67c38dd3a5123710440.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/debugger/gdbstub.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/debugger/gdbstub.cpp b/src/core/debugger/gdbstub.cpp
index 718c45952..ee7598165 100644
--- a/src/core/debugger/gdbstub.cpp
+++ b/src/core/debugger/gdbstub.cpp
@@ -358,8 +358,8 @@ std::optional<std::string> GDBStub::DetachCommand() {
}
u8 GDBStub::CalculateChecksum(std::string_view data) {
- return static_cast<u8>(
- std::accumulate(data.begin(), data.end(), u8{0}, [](u8 lhs, u8 rhs) { return lhs + rhs; }));
+ return std::accumulate(data.begin(), data.end(), u8{0},
+ [](u8 lhs, u8 rhs) { return static_cast<u8>(lhs + rhs); });
}
void GDBStub::SendReply(std::string_view data) {