summaryrefslogtreecommitdiffstats
path: root/src/core/debugger/debugger.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-06-07 23:16:47 +0200
committerGitHub <noreply@github.com>2022-06-07 23:16:47 +0200
commit4ae75bec50d2d629c0c3d36b5f0b11d3e4e39703 (patch)
treea042420bd58a909603679cc45fe1594b795997c8 /src/core/debugger/debugger.cpp
parentMerge pull request #8435 from liamwhite/lambda-capture (diff)
parentcore/debugger: fix asio write usage (diff)
downloadyuzu-4ae75bec50d2d629c0c3d36b5f0b11d3e4e39703.tar
yuzu-4ae75bec50d2d629c0c3d36b5f0b11d3e4e39703.tar.gz
yuzu-4ae75bec50d2d629c0c3d36b5f0b11d3e4e39703.tar.bz2
yuzu-4ae75bec50d2d629c0c3d36b5f0b11d3e4e39703.tar.lz
yuzu-4ae75bec50d2d629c0c3d36b5f0b11d3e4e39703.tar.xz
yuzu-4ae75bec50d2d629c0c3d36b5f0b11d3e4e39703.tar.zst
yuzu-4ae75bec50d2d629c0c3d36b5f0b11d3e4e39703.zip
Diffstat (limited to 'src/core/debugger/debugger.cpp')
-rw-r--r--src/core/debugger/debugger.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/debugger/debugger.cpp b/src/core/debugger/debugger.cpp
index 69b7d987d..8d64990ed 100644
--- a/src/core/debugger/debugger.cpp
+++ b/src/core/debugger/debugger.cpp
@@ -66,7 +66,7 @@ public:
}
stopped = true;
- signal_pipe.write_some(boost::asio::buffer(&thread, sizeof(thread)));
+ boost::asio::write(signal_pipe, boost::asio::buffer(&thread, sizeof(thread)));
return true;
}
@@ -75,7 +75,7 @@ public:
}
void WriteToClient(std::span<const u8> data) override {
- client_socket.write_some(boost::asio::buffer(data.data(), data.size_bytes()));
+ boost::asio::write(client_socket, boost::asio::buffer(data.data(), data.size_bytes()));
}
void SetActiveThread(Kernel::KThread* thread) override {