summaryrefslogtreecommitdiffstats
path: root/src/input_common/gcadapter
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-09-15 00:34:39 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-09-15 00:38:08 +0200
commitbc8ace9917328f506501711907739584de44515f (patch)
tree7dcde40f20a8bb0b7a777842eea980adf9b69e96 /src/input_common/gcadapter
parentMerge pull request #4652 from lioncash/crypto (diff)
downloadyuzu-bc8ace9917328f506501711907739584de44515f.tar
yuzu-bc8ace9917328f506501711907739584de44515f.tar.gz
yuzu-bc8ace9917328f506501711907739584de44515f.tar.bz2
yuzu-bc8ace9917328f506501711907739584de44515f.tar.lz
yuzu-bc8ace9917328f506501711907739584de44515f.tar.xz
yuzu-bc8ace9917328f506501711907739584de44515f.tar.zst
yuzu-bc8ace9917328f506501711907739584de44515f.zip
Diffstat (limited to 'src/input_common/gcadapter')
-rw-r--r--src/input_common/gcadapter/gc_adapter.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/input_common/gcadapter/gc_adapter.cpp b/src/input_common/gcadapter/gc_adapter.cpp
index c6c423c4b..c507c9891 100644
--- a/src/input_common/gcadapter/gc_adapter.cpp
+++ b/src/input_common/gcadapter/gc_adapter.cpp
@@ -4,7 +4,16 @@
#include <chrono>
#include <thread>
+
+#ifdef _MSC_VER
+#pragma warning(push)
+#pragma warning(disable : 4200) // nonstandard extension used : zero-sized array in struct/union
+#endif
#include <libusb.h>
+#ifdef _MSC_VER
+#pragma warning(pop)
+#endif
+
#include "common/logging/log.h"
#include "input_common/gcadapter/gc_adapter.h"