Jelajahi Sumber

hid: Move core include to cpp file

This isn't required to be in the header. Instead, directly include what
this header needs and move it to the cpp file where it belongs.
Lioncash 8 tahun lalu
induk
melakukan
ec59e4a6c5
2 mengubah file dengan 4 tambahan dan 1 penghapusan
  1. 1 0
      src/core/hle/service/hid/hid.cpp
  2. 3 1
      src/core/hle/service/hid/hid.h

+ 1 - 0
src/core/hle/service/hid/hid.cpp

@@ -17,6 +17,7 @@
 #include "core/hle/service/hid/irs.h"
 #include "core/hle/service/hid/xcd.h"
 #include "core/hle/service/service.h"
+#include "core/settings.h"
 
 namespace Service::HID {
 

+ 3 - 1
src/core/hle/service/hid/hid.h

@@ -4,8 +4,10 @@
 
 #pragma once
 
+#include <array>
+#include "common/bit_field.h"
+#include "common/common_types.h"
 #include "core/hle/service/service.h"
-#include "core/settings.h"
 
 namespace Service::HID {