diff options
author | Ameer <aj662@drexel.edu> | 2020-06-22 04:58:53 +0200 |
---|---|---|
committer | Ameer <aj662@drexel.edu> | 2020-06-22 04:58:53 +0200 |
commit | 0f729ef0785eba2a2bd8e9581da4050209c2611d (patch) | |
tree | 9fd066c81307eb225a7595d4be5585a66914231c /src/input_common/gcadapter/gc_adapter.cpp | |
parent | shared_ptr for the GC adapter class, constexpr constants (diff) | |
download | yuzu-0f729ef0785eba2a2bd8e9581da4050209c2611d.tar yuzu-0f729ef0785eba2a2bd8e9581da4050209c2611d.tar.gz yuzu-0f729ef0785eba2a2bd8e9581da4050209c2611d.tar.bz2 yuzu-0f729ef0785eba2a2bd8e9581da4050209c2611d.tar.lz yuzu-0f729ef0785eba2a2bd8e9581da4050209c2611d.tar.xz yuzu-0f729ef0785eba2a2bd8e9581da4050209c2611d.tar.zst yuzu-0f729ef0785eba2a2bd8e9581da4050209c2611d.zip |
Diffstat (limited to 'src/input_common/gcadapter/gc_adapter.cpp')
-rw-r--r-- | src/input_common/gcadapter/gc_adapter.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/input_common/gcadapter/gc_adapter.cpp b/src/input_common/gcadapter/gc_adapter.cpp index db72d7633..e3bcb24f6 100644 --- a/src/input_common/gcadapter/gc_adapter.cpp +++ b/src/input_common/gcadapter/gc_adapter.cpp @@ -2,6 +2,8 @@ // Licensed under GPLv2+ // Refer to the license.txt file included. +#include <chrono> +#include <thread> #include "common/logging/log.h" #include "input_common/gcadapter/gc_adapter.h" @@ -182,7 +184,7 @@ void Adapter::ScanThreadFunc() { std::lock_guard<std::mutex> lk(initialization_mutex); Setup(); } - Sleep(500); + std::this_thread::sleep_for(std::chrono::milliseconds(500)); } } |