VERY experimental Nintendo Switch 2 emulator
C++
gc_adapter: Resolve C++20 deprecation warning
Lioncashbc2f95ea67e8
diff --git a/src/input_common/gcadapter/gc_adapter.cpp b/src/input_common/gcadapter/gc_adapter.cppindex 02d06876f2..29ea1f2c78 100644--- a/src/input_common/gcadapter/gc_adapter.cpp+++ b/src/input_common/gcadapter/gc_adapter.cpp@@ -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() {