summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/break_points.cpp2
-rw-r--r--src/common/emu_window.cpp2
-rw-r--r--src/common/file_util.cpp2
-rw-r--r--src/common/key_map.cpp2
-rw-r--r--src/common/logging/backend.cpp2
-rw-r--r--src/common/logging/filter.cpp2
-rw-r--r--src/common/memory_util.cpp2
-rw-r--r--src/common/string_util.cpp2
-rw-r--r--src/common/x64/cpu_detect.cpp2
-rw-r--r--src/common/x64/emitter.cpp4
10 files changed, 11 insertions, 11 deletions
diff --git a/src/common/break_points.cpp b/src/common/break_points.cpp
index 4b64a6c7b..03a19acba 100644
--- a/src/common/break_points.cpp
+++ b/src/common/break_points.cpp
@@ -2,9 +2,9 @@
2// Licensed under GPLv2 or any later version 2// Licensed under GPLv2 or any later version
3// Refer to the license.txt file included. 3// Refer to the license.txt file included.
4 4
5#include "common/break_points.h"
6#include <algorithm> 5#include <algorithm>
7#include <sstream> 6#include <sstream>
7#include "common/break_points.h"
8#include "common/logging/log.h" 8#include "common/logging/log.h"
9 9
10bool BreakPoints::IsAddressBreakPoint(u32 iAddress) const { 10bool BreakPoints::IsAddressBreakPoint(u32 iAddress) const {
diff --git a/src/common/emu_window.cpp b/src/common/emu_window.cpp
index 6fd6f1987..122f1c212 100644
--- a/src/common/emu_window.cpp
+++ b/src/common/emu_window.cpp
@@ -2,11 +2,11 @@
2// Licensed under GPLv2 or any later version 2// Licensed under GPLv2 or any later version
3// Refer to the license.txt file included. 3// Refer to the license.txt file included.
4 4
5#include "emu_window.h"
6#include <algorithm> 5#include <algorithm>
7#include <cmath> 6#include <cmath>
8#include "common/assert.h" 7#include "common/assert.h"
9#include "common/key_map.h" 8#include "common/key_map.h"
9#include "emu_window.h"
10#include "video_core/video_core.h" 10#include "video_core/video_core.h"
11 11
12void EmuWindow::ButtonPressed(Service::HID::PadState pad) { 12void EmuWindow::ButtonPressed(Service::HID::PadState pad) {
diff --git a/src/common/file_util.cpp b/src/common/file_util.cpp
index a0cae11e3..7a21962cc 100644
--- a/src/common/file_util.cpp
+++ b/src/common/file_util.cpp
@@ -2,10 +2,10 @@
2// Licensed under GPLv2 or any later version 2// Licensed under GPLv2 or any later version
3// Refer to the license.txt file included. 3// Refer to the license.txt file included.
4 4
5#include "common/file_util.h"
6#include "common/assert.h" 5#include "common/assert.h"
7#include "common/common_funcs.h" 6#include "common/common_funcs.h"
8#include "common/common_paths.h" 7#include "common/common_paths.h"
8#include "common/file_util.h"
9#include "common/logging/log.h" 9#include "common/logging/log.h"
10 10
11#ifdef _WIN32 11#ifdef _WIN32
diff --git a/src/common/key_map.cpp b/src/common/key_map.cpp
index 8380ce489..79b3fcb18 100644
--- a/src/common/key_map.cpp
+++ b/src/common/key_map.cpp
@@ -2,9 +2,9 @@
2// Licensed under GPLv2 or any later version 2// Licensed under GPLv2 or any later version
3// Refer to the license.txt file included. 3// Refer to the license.txt file included.
4 4
5#include "common/key_map.h"
6#include <map> 5#include <map>
7#include "common/emu_window.h" 6#include "common/emu_window.h"
7#include "common/key_map.h"
8 8
9namespace KeyMap { 9namespace KeyMap {
10 10
diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp
index b4a312948..9a13a9e90 100644
--- a/src/common/logging/backend.cpp
+++ b/src/common/logging/backend.cpp
@@ -2,12 +2,12 @@
2// Licensed under GPLv2 or any later version 2// Licensed under GPLv2 or any later version
3// Refer to the license.txt file included. 3// Refer to the license.txt file included.
4 4
5#include "common/logging/backend.h"
6#include <algorithm> 5#include <algorithm>
7#include <array> 6#include <array>
8#include <cstdio> 7#include <cstdio>
9#include "common/assert.h" 8#include "common/assert.h"
10#include "common/common_funcs.h" // snprintf compatibility define 9#include "common/common_funcs.h" // snprintf compatibility define
10#include "common/logging/backend.h"
11#include "common/logging/filter.h" 11#include "common/logging/filter.h"
12#include "common/logging/log.h" 12#include "common/logging/log.h"
13#include "common/logging/text_formatter.h" 13#include "common/logging/text_formatter.h"
diff --git a/src/common/logging/filter.cpp b/src/common/logging/filter.cpp
index 9aa72cecc..12e5bb45d 100644
--- a/src/common/logging/filter.cpp
+++ b/src/common/logging/filter.cpp
@@ -2,9 +2,9 @@
2// Licensed under GPLv2 or any later version 2// Licensed under GPLv2 or any later version
3// Refer to the license.txt file included. 3// Refer to the license.txt file included.
4 4
5#include "common/logging/filter.h"
6#include <algorithm> 5#include <algorithm>
7#include "common/logging/backend.h" 6#include "common/logging/backend.h"
7#include "common/logging/filter.h"
8#include "common/string_util.h" 8#include "common/string_util.h"
9 9
10namespace Log { 10namespace Log {
diff --git a/src/common/memory_util.cpp b/src/common/memory_util.cpp
index 7d352f00f..e19d7202a 100644
--- a/src/common/memory_util.cpp
+++ b/src/common/memory_util.cpp
@@ -2,8 +2,8 @@
2// Licensed under GPLv2 or any later version 2// Licensed under GPLv2 or any later version
3// Refer to the license.txt file included. 3// Refer to the license.txt file included.
4 4
5#include "common/memory_util.h"
6#include "common/logging/log.h" 5#include "common/logging/log.h"
6#include "common/memory_util.h"
7 7
8#ifdef _WIN32 8#ifdef _WIN32
9#include <windows.h> 9#include <windows.h>
diff --git a/src/common/string_util.cpp b/src/common/string_util.cpp
index 968854bae..ca97e8ab4 100644
--- a/src/common/string_util.cpp
+++ b/src/common/string_util.cpp
@@ -2,7 +2,6 @@
2// Licensed under GPLv2 or any later version 2// Licensed under GPLv2 or any later version
3// Refer to the license.txt file included. 3// Refer to the license.txt file included.
4 4
5#include "common/string_util.h"
6#include <cctype> 5#include <cctype>
7#include <cerrno> 6#include <cerrno>
8#include <cstdio> 7#include <cstdio>
@@ -11,6 +10,7 @@
11#include <boost/range/algorithm/transform.hpp> 10#include <boost/range/algorithm/transform.hpp>
12#include "common/common_paths.h" 11#include "common/common_paths.h"
13#include "common/logging/log.h" 12#include "common/logging/log.h"
13#include "common/string_util.h"
14#ifdef _MSC_VER 14#ifdef _MSC_VER
15#include <Windows.h> 15#include <Windows.h>
16#include <codecvt> 16#include <codecvt>
diff --git a/src/common/x64/cpu_detect.cpp b/src/common/x64/cpu_detect.cpp
index ac37c42bc..6ddf9b70c 100644
--- a/src/common/x64/cpu_detect.cpp
+++ b/src/common/x64/cpu_detect.cpp
@@ -2,11 +2,11 @@
2// Licensed under GPLv2 or any later version 2// Licensed under GPLv2 or any later version
3// Refer to the license.txt file included. 3// Refer to the license.txt file included.
4 4
5#include "cpu_detect.h"
6#include <cstring> 5#include <cstring>
7#include <string> 6#include <string>
8#include <thread> 7#include <thread>
9#include "common/common_types.h" 8#include "common/common_types.h"
9#include "cpu_detect.h"
10 10
11namespace Common { 11namespace Common {
12 12
diff --git a/src/common/x64/emitter.cpp b/src/common/x64/emitter.cpp
index b69e4bd5e..f5930abec 100644
--- a/src/common/x64/emitter.cpp
+++ b/src/common/x64/emitter.cpp
@@ -15,7 +15,6 @@
15// Official SVN repository and contact information can be found at 15// Official SVN repository and contact information can be found at
16// http://code.google.com/p/dolphin-emu/ 16// http://code.google.com/p/dolphin-emu/
17 17
18#include "emitter.h"
19#include <cinttypes> 18#include <cinttypes>
20#include <cstring> 19#include <cstring>
21#include "abi.h" 20#include "abi.h"
@@ -23,6 +22,7 @@
23#include "common/logging/log.h" 22#include "common/logging/log.h"
24#include "common/memory_util.h" 23#include "common/memory_util.h"
25#include "cpu_detect.h" 24#include "cpu_detect.h"
25#include "emitter.h"
26 26
27namespace Gen { 27namespace Gen {
28 28
@@ -220,7 +220,7 @@ void OpArg::WriteVex(XEmitter* emit, X64Reg regOp1, X64Reg regOp2, int L, int pp
220void OpArg::WriteRest(XEmitter* emit, int extraBytes, X64Reg _operandReg, 220void OpArg::WriteRest(XEmitter* emit, int extraBytes, X64Reg _operandReg,
221 bool warn_64bit_offset) const { 221 bool warn_64bit_offset) const {
222 if (_operandReg == INVALID_REG) 222 if (_operandReg == INVALID_REG)
223 _operandReg = (X64Reg) this->operandReg; 223 _operandReg = (X64Reg)this->operandReg;
224 int mod = 0; 224 int mod = 0;
225 int ireg = indexReg; 225 int ireg = indexReg;
226 bool SIB = false; 226 bool SIB = false;