瀏覽代碼

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 年之前
父節點
當前提交
ec59e4a6c5
共有 2 個文件被更改,包括 4 次插入1 次删除
  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 {