mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00:00
gc_adapter: Resolve C++20 deprecation warning
This commit is contained in:
parent
04699c366b
commit
ac7e4e2cab
|
@ -254,7 +254,7 @@ void Adapter::GetGCEndpoint(libusb_device* device) {
|
|||
sizeof(clear_payload), nullptr, 16);
|
||||
|
||||
adapter_thread_running = true;
|
||||
adapter_input_thread = std::thread([=] { Read(); }); // Read input
|
||||
adapter_input_thread = std::thread(&Adapter::Read, this);
|
||||
}
|
||||
|
||||
Adapter::~Adapter() {
|
||||
|
|
Loading…
Reference in a new issue