summaryrefslogtreecommitdiffstats
path: root/src/core/debugger
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-06-07 05:50:56 +0200
committerLiam <byteslice@airmail.cc>2022-06-07 05:50:56 +0200
commit268878f895ae2605fda5effae69084416c2c3d1d (patch)
treea042420bd58a909603679cc45fe1594b795997c8 /src/core/debugger
parentcore/debugger: fix crash due to incorrect lambda capture (diff)
downloadyuzu-268878f895ae2605fda5effae69084416c2c3d1d.tar
yuzu-268878f895ae2605fda5effae69084416c2c3d1d.tar.gz
yuzu-268878f895ae2605fda5effae69084416c2c3d1d.tar.bz2
yuzu-268878f895ae2605fda5effae69084416c2c3d1d.tar.lz
yuzu-268878f895ae2605fda5effae69084416c2c3d1d.tar.xz
yuzu-268878f895ae2605fda5effae69084416c2c3d1d.tar.zst
yuzu-268878f895ae2605fda5effae69084416c2c3d1d.zip
Diffstat (limited to '')
-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 {