summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/.clang-format10
-rw-r--r--src/audio_core/audio_core.cpp2
-rw-r--r--src/audio_core/codec.cpp2
-rw-r--r--src/audio_core/hle/dsp.cpp2
-rw-r--r--src/audio_core/hle/filter.cpp2
-rw-r--r--src/audio_core/hle/pipe.cpp2
-rw-r--r--src/audio_core/hle/source.cpp2
-rw-r--r--src/audio_core/sdl2_sink.cpp2
-rw-r--r--src/audio_core/sink_details.cpp2
-rw-r--r--src/audio_core/time_stretch.cpp2
-rw-r--r--src/citra/config.cpp2
-rw-r--r--src/citra_qt/config.cpp2
-rw-r--r--src/citra_qt/configure_audio.cpp2
-rw-r--r--src/citra_qt/configure_dialog.cpp2
-rw-r--r--src/citra_qt/configure_input.cpp2
-rw-r--r--src/citra_qt/debugger/callstack.cpp2
-rw-r--r--src/citra_qt/debugger/disassembler.cpp2
-rw-r--r--src/citra_qt/debugger/graphics.cpp2
-rw-r--r--src/citra_qt/debugger/graphics_breakpoint_observer.cpp2
-rw-r--r--src/citra_qt/debugger/graphics_breakpoints.cpp2
-rw-r--r--src/citra_qt/debugger/graphics_cmdlists.cpp2
-rw-r--r--src/citra_qt/debugger/graphics_surface.cpp2
-rw-r--r--src/citra_qt/debugger/graphics_tracing.cpp2
-rw-r--r--src/citra_qt/debugger/graphics_vertex_shader.cpp2
-rw-r--r--src/citra_qt/debugger/profiler.cpp2
-rw-r--r--src/citra_qt/debugger/registers.cpp2
-rw-r--r--src/citra_qt/game_list.cpp2
-rw-r--r--src/citra_qt/hotkeys.cpp2
-rw-r--r--src/citra_qt/util/spinbox.cpp2
-rw-r--r--src/citra_qt/util/util.cpp2
-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
-rw-r--r--src/core/arm/disassembler/arm_disasm.cpp2
-rw-r--r--src/core/arm/disassembler/load_symbol_map.cpp2
-rw-r--r--src/core/arm/dynarmic/arm_dynarmic.cpp2
-rw-r--r--src/core/arm/dyncom/arm_dyncom.cpp2
-rw-r--r--src/core/arm/dyncom/arm_dyncom_interpreter.cpp2
-rw-r--r--src/core/arm/dyncom/arm_dyncom_trans.cpp2
-rw-r--r--src/core/arm/skyeye_common/armstate.cpp2
-rw-r--r--src/core/arm/skyeye_common/armsupp.cpp2
-rw-r--r--src/core/arm/skyeye_common/vfp/vfp.cpp2
-rw-r--r--src/core/arm/skyeye_common/vfp/vfpdouble.cpp2
-rw-r--r--src/core/arm/skyeye_common/vfp/vfpsingle.cpp2
-rw-r--r--src/core/core.cpp2
-rw-r--r--src/core/core_timing.cpp2
-rw-r--r--src/core/file_sys/archive_backend.cpp2
-rw-r--r--src/core/file_sys/archive_extsavedata.cpp2
-rw-r--r--src/core/file_sys/archive_romfs.cpp2
-rw-r--r--src/core/file_sys/archive_savedata.cpp2
-rw-r--r--src/core/file_sys/archive_savedatacheck.cpp2
-rw-r--r--src/core/file_sys/archive_sdmc.cpp2
-rw-r--r--src/core/file_sys/archive_systemsavedata.cpp2
-rw-r--r--src/core/file_sys/disk_archive.cpp2
-rw-r--r--src/core/file_sys/ivfc_archive.cpp2
-rw-r--r--src/core/hle/applets/applet.cpp2
-rw-r--r--src/core/hle/applets/erreula.cpp2
-rw-r--r--src/core/hle/applets/mii_selector.cpp2
-rw-r--r--src/core/hle/applets/swkbd.cpp2
-rw-r--r--src/core/hle/config_mem.cpp2
-rw-r--r--src/core/hle/hle.cpp2
-rw-r--r--src/core/hle/kernel/address_arbiter.cpp2
-rw-r--r--src/core/hle/kernel/client_port.cpp2
-rw-r--r--src/core/hle/kernel/event.cpp2
-rw-r--r--src/core/hle/kernel/kernel.cpp2
-rw-r--r--src/core/hle/kernel/memory.cpp2
-rw-r--r--src/core/hle/kernel/mutex.cpp2
-rw-r--r--src/core/hle/kernel/process.cpp2
-rw-r--r--src/core/hle/kernel/resource_limit.cpp2
-rw-r--r--src/core/hle/kernel/semaphore.cpp2
-rw-r--r--src/core/hle/kernel/server_port.cpp2
-rw-r--r--src/core/hle/kernel/shared_memory.cpp2
-rw-r--r--src/core/hle/kernel/thread.cpp2
-rw-r--r--src/core/hle/kernel/timer.cpp2
-rw-r--r--src/core/hle/kernel/vm_manager.cpp2
-rw-r--r--src/core/hle/service/ac_u.cpp2
-rw-r--r--src/core/hle/service/am/am.cpp2
-rw-r--r--src/core/hle/service/am/am_app.cpp2
-rw-r--r--src/core/hle/service/am/am_net.cpp2
-rw-r--r--src/core/hle/service/am/am_sys.cpp2
-rw-r--r--src/core/hle/service/am/am_u.cpp2
-rw-r--r--src/core/hle/service/apt/apt.cpp2
-rw-r--r--src/core/hle/service/apt/apt_a.cpp2
-rw-r--r--src/core/hle/service/apt/apt_s.cpp2
-rw-r--r--src/core/hle/service/apt/apt_u.cpp2
-rw-r--r--src/core/hle/service/cam/cam.cpp2
-rw-r--r--src/core/hle/service/cam/cam_u.cpp2
-rw-r--r--src/core/hle/service/cecd/cecd.cpp2
-rw-r--r--src/core/hle/service/cecd/cecd_u.cpp2
-rw-r--r--src/core/hle/service/cfg/cfg.cpp2
-rw-r--r--src/core/hle/service/cfg/cfg_i.cpp2
-rw-r--r--src/core/hle/service/cfg/cfg_s.cpp2
-rw-r--r--src/core/hle/service/cfg/cfg_u.cpp2
-rw-r--r--src/core/hle/service/csnd_snd.cpp2
-rw-r--r--src/core/hle/service/dlp/dlp_srvr.cpp2
-rw-r--r--src/core/hle/service/dsp_dsp.cpp2
-rw-r--r--src/core/hle/service/err_f.cpp2
-rw-r--r--src/core/hle/service/frd/frd.cpp2
-rw-r--r--src/core/hle/service/frd/frd_u.cpp2
-rw-r--r--src/core/hle/service/fs/archive.cpp2
-rw-r--r--src/core/hle/service/fs/fs_user.cpp2
-rw-r--r--src/core/hle/service/gsp_gpu.cpp2
-rw-r--r--src/core/hle/service/hid/hid.cpp2
-rw-r--r--src/core/hle/service/hid/hid_spvr.cpp2
-rw-r--r--src/core/hle/service/hid/hid_user.cpp2
-rw-r--r--src/core/hle/service/ir/ir.cpp2
-rw-r--r--src/core/hle/service/ir/ir_rst.cpp2
-rw-r--r--src/core/hle/service/ir/ir_user.cpp2
-rw-r--r--src/core/hle/service/ldr_ro/cro_helper.cpp2
-rw-r--r--src/core/hle/service/ldr_ro/ldr_ro.cpp2
-rw-r--r--src/core/hle/service/ldr_ro/memory_synchronizer.cpp2
-rw-r--r--src/core/hle/service/ndm/ndm.cpp2
-rw-r--r--src/core/hle/service/ndm/ndm_u.cpp2
-rw-r--r--src/core/hle/service/news/news.cpp2
-rw-r--r--src/core/hle/service/news/news_s.cpp2
-rw-r--r--src/core/hle/service/nim/nim.cpp2
-rw-r--r--src/core/hle/service/nim/nim_u.cpp2
-rw-r--r--src/core/hle/service/nwm_uds.cpp2
-rw-r--r--src/core/hle/service/ptm/ptm.cpp2
-rw-r--r--src/core/hle/service/ptm/ptm_sysm.cpp2
-rw-r--r--src/core/hle/service/ptm/ptm_u.cpp2
-rw-r--r--src/core/hle/service/service.cpp2
-rw-r--r--src/core/hle/service/soc_u.cpp2
-rw-r--r--src/core/hle/service/srv.cpp2
-rw-r--r--src/core/hle/service/ssl_c.cpp2
-rw-r--r--src/core/hle/service/y2r_u.cpp2
-rw-r--r--src/core/hle/shared_page.cpp2
-rw-r--r--src/core/hw/gpu.cpp2
-rw-r--r--src/core/hw/hw.cpp2
-rw-r--r--src/core/hw/lcd.cpp2
-rw-r--r--src/core/hw/y2r.cpp2
-rw-r--r--src/core/loader/3dsx.cpp2
-rw-r--r--src/core/loader/elf.cpp2
-rw-r--r--src/core/loader/ncch.cpp2
-rw-r--r--src/core/loader/smdh.cpp2
-rw-r--r--src/core/memory.cpp2
-rw-r--r--src/core/settings.cpp2
-rw-r--r--src/core/system.cpp2
-rw-r--r--src/core/tracer/recorder.cpp2
-rw-r--r--src/video_core/clipper.cpp2
-rw-r--r--src/video_core/command_processor.cpp2
-rw-r--r--src/video_core/pica.cpp2
-rw-r--r--src/video_core/primitive_assembly.cpp2
-rw-r--r--src/video_core/rasterizer.cpp2
-rw-r--r--src/video_core/renderer_base.cpp2
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer.cpp2
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer_cache.cpp2
-rw-r--r--src/video_core/renderer_opengl/gl_shader_gen.cpp2
-rw-r--r--src/video_core/renderer_opengl/gl_shader_util.cpp2
-rw-r--r--src/video_core/renderer_opengl/gl_state.cpp2
-rw-r--r--src/video_core/renderer_opengl/renderer_opengl.cpp2
-rw-r--r--src/video_core/shader/shader.cpp2
-rw-r--r--src/video_core/shader/shader_interpreter.cpp2
-rw-r--r--src/video_core/shader/shader_jit_x64.cpp2
-rw-r--r--src/video_core/swrasterizer.cpp2
-rw-r--r--src/video_core/vertex_loader.cpp2
-rw-r--r--src/video_core/video_core.cpp2
164 files changed, 170 insertions, 168 deletions
diff --git a/src/.clang-format b/src/.clang-format
index fc1bbb297..e4f5d6d7e 100644
--- a/src/.clang-format
+++ b/src/.clang-format
@@ -47,13 +47,15 @@ DisableFormat: false
47ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] 47ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
48IncludeCategories: 48IncludeCategories:
49 - Regex: '^\<[wW]indows.h\>' 49 - Regex: '^\<[wW]indows.h\>'
50 Priority: 1 50 Priority: -3
51 - Regex: '^\<(boost|catch|dynarmic|glad|inih|nihstro)/' 51 - Regex: '^\<(boost|catch|dynarmic|glad|inih|nihstro)/'
52 Priority: 3 52 Priority: -1
53 - Regex: '^\<(SDL|SoundTouch|Q)' 53 - Regex: '^\<(SDL|SoundTouch|Q)'
54 Priority: 3 54 Priority: -1
55 - Regex: '^\<' 55 - Regex: '^\<'
56 Priority: 2 56 Priority: -2
57 - Regex: '^\"'
58 Priority: 0
57IndentCaseLabels: false 59IndentCaseLabels: false
58IndentWidth: 4 60IndentWidth: 4
59IndentWrappedFunctionNames: false 61IndentWrappedFunctionNames: false
diff --git a/src/audio_core/audio_core.cpp b/src/audio_core/audio_core.cpp
index c54a4b99a..49260de7c 100644
--- a/src/audio_core/audio_core.cpp
+++ b/src/audio_core/audio_core.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 "audio_core/audio_core.h"
6#include <memory> 5#include <memory>
7#include <string> 6#include <string>
7#include "audio_core/audio_core.h"
8#include "audio_core/hle/dsp.h" 8#include "audio_core/hle/dsp.h"
9#include "audio_core/hle/pipe.h" 9#include "audio_core/hle/pipe.h"
10#include "audio_core/null_sink.h" 10#include "audio_core/null_sink.h"
diff --git a/src/audio_core/codec.cpp b/src/audio_core/codec.cpp
index fd189a176..7a3bd7eb3 100644
--- a/src/audio_core/codec.cpp
+++ b/src/audio_core/codec.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 "audio_core/codec.h"
6#include <array> 5#include <array>
7#include <cstddef> 6#include <cstddef>
8#include <cstring> 7#include <cstring>
9#include <vector> 8#include <vector>
9#include "audio_core/codec.h"
10#include "common/assert.h" 10#include "common/assert.h"
11#include "common/common_types.h" 11#include "common/common_types.h"
12#include "common/math_util.h" 12#include "common/math_util.h"
diff --git a/src/audio_core/hle/dsp.cpp b/src/audio_core/hle/dsp.cpp
index aa64dae97..58690970a 100644
--- a/src/audio_core/hle/dsp.cpp
+++ b/src/audio_core/hle/dsp.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 "audio_core/hle/dsp.h"
6#include <array> 5#include <array>
7#include <memory> 6#include <memory>
7#include "audio_core/hle/dsp.h"
8#include "audio_core/hle/mixers.h" 8#include "audio_core/hle/mixers.h"
9#include "audio_core/hle/pipe.h" 9#include "audio_core/hle/pipe.h"
10#include "audio_core/hle/source.h" 10#include "audio_core/hle/source.h"
diff --git a/src/audio_core/hle/filter.cpp b/src/audio_core/hle/filter.cpp
index edf95f686..b24a79b89 100644
--- a/src/audio_core/hle/filter.cpp
+++ b/src/audio_core/hle/filter.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 "audio_core/hle/filter.h"
6#include <array> 5#include <array>
7#include <cstddef> 6#include <cstddef>
8#include "audio_core/hle/common.h" 7#include "audio_core/hle/common.h"
9#include "audio_core/hle/dsp.h" 8#include "audio_core/hle/dsp.h"
9#include "audio_core/hle/filter.h"
10#include "common/common_types.h" 10#include "common/common_types.h"
11#include "common/math_util.h" 11#include "common/math_util.h"
12 12
diff --git a/src/audio_core/hle/pipe.cpp b/src/audio_core/hle/pipe.cpp
index cab30c8aa..b472c81d8 100644
--- a/src/audio_core/hle/pipe.cpp
+++ b/src/audio_core/hle/pipe.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 "audio_core/hle/pipe.h"
6#include <array> 5#include <array>
7#include <vector> 6#include <vector>
8#include "audio_core/hle/dsp.h" 7#include "audio_core/hle/dsp.h"
8#include "audio_core/hle/pipe.h"
9#include "common/assert.h" 9#include "common/assert.h"
10#include "common/common_types.h" 10#include "common/common_types.h"
11#include "common/logging/log.h" 11#include "common/logging/log.h"
diff --git a/src/audio_core/hle/source.cpp b/src/audio_core/hle/source.cpp
index 9e6b36fcd..2bbf7146e 100644
--- a/src/audio_core/hle/source.cpp
+++ b/src/audio_core/hle/source.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 "audio_core/hle/source.h"
6#include <algorithm> 5#include <algorithm>
7#include <array> 6#include <array>
8#include "audio_core/codec.h" 7#include "audio_core/codec.h"
9#include "audio_core/hle/common.h" 8#include "audio_core/hle/common.h"
9#include "audio_core/hle/source.h"
10#include "audio_core/interpolate.h" 10#include "audio_core/interpolate.h"
11#include "common/assert.h" 11#include "common/assert.h"
12#include "common/logging/log.h" 12#include "common/logging/log.h"
diff --git a/src/audio_core/sdl2_sink.cpp b/src/audio_core/sdl2_sink.cpp
index 2520796cb..75cc0d6dd 100644
--- a/src/audio_core/sdl2_sink.cpp
+++ b/src/audio_core/sdl2_sink.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 "audio_core/sdl2_sink.h"
6#include <list> 5#include <list>
7#include <numeric> 6#include <numeric>
8#include <vector> 7#include <vector>
9#include <SDL.h> 8#include <SDL.h>
10#include "audio_core/audio_core.h" 9#include "audio_core/audio_core.h"
10#include "audio_core/sdl2_sink.h"
11#include "common/assert.h" 11#include "common/assert.h"
12#include "common/logging/log.h" 12#include "common/logging/log.h"
13 13
diff --git a/src/audio_core/sink_details.cpp b/src/audio_core/sink_details.cpp
index 1dc5e862e..95ccc9e9d 100644
--- a/src/audio_core/sink_details.cpp
+++ b/src/audio_core/sink_details.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 "audio_core/sink_details.h"
6#include <memory> 5#include <memory>
7#include <vector> 6#include <vector>
8#include "audio_core/null_sink.h" 7#include "audio_core/null_sink.h"
8#include "audio_core/sink_details.h"
9#ifdef HAVE_SDL2 9#ifdef HAVE_SDL2
10#include "audio_core/sdl2_sink.h" 10#include "audio_core/sdl2_sink.h"
11#endif 11#endif
diff --git a/src/audio_core/time_stretch.cpp b/src/audio_core/time_stretch.cpp
index 26059f503..53cb64655 100644
--- a/src/audio_core/time_stretch.cpp
+++ b/src/audio_core/time_stretch.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 "audio_core/time_stretch.h"
6#include <chrono> 5#include <chrono>
7#include <cmath> 6#include <cmath>
8#include <vector> 7#include <vector>
9#include <SoundTouch.h> 8#include <SoundTouch.h>
10#include "audio_core/audio_core.h" 9#include "audio_core/audio_core.h"
10#include "audio_core/time_stretch.h"
11#include "common/common_types.h" 11#include "common/common_types.h"
12#include "common/logging/log.h" 12#include "common/logging/log.h"
13#include "common/math_util.h" 13#include "common/math_util.h"
diff --git a/src/citra/config.cpp b/src/citra/config.cpp
index 58aef7a9a..05eabfa3d 100644
--- a/src/citra/config.cpp
+++ b/src/citra/config.cpp
@@ -2,13 +2,13 @@
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 "config.h"
6#include <memory> 5#include <memory>
7#include <SDL.h> 6#include <SDL.h>
8#include <inih/cpp/INIReader.h> 7#include <inih/cpp/INIReader.h>
9#include "citra/default_ini.h" 8#include "citra/default_ini.h"
10#include "common/file_util.h" 9#include "common/file_util.h"
11#include "common/logging/log.h" 10#include "common/logging/log.h"
11#include "config.h"
12#include "core/settings.h" 12#include "core/settings.h"
13 13
14Config::Config() { 14Config::Config() {
diff --git a/src/citra_qt/config.cpp b/src/citra_qt/config.cpp
index e3648572f..0b46ca6bb 100644
--- a/src/citra_qt/config.cpp
+++ b/src/citra_qt/config.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 "citra_qt/config.h"
6#include <QSettings> 5#include <QSettings>
6#include "citra_qt/config.h"
7#include "citra_qt/ui_settings.h" 7#include "citra_qt/ui_settings.h"
8#include "common/file_util.h" 8#include "common/file_util.h"
9 9
diff --git a/src/citra_qt/configure_audio.cpp b/src/citra_qt/configure_audio.cpp
index ba976252e..3cdd4c780 100644
--- a/src/citra_qt/configure_audio.cpp
+++ b/src/citra_qt/configure_audio.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 "citra_qt/configure_audio.h"
6#include "audio_core/sink_details.h" 5#include "audio_core/sink_details.h"
6#include "citra_qt/configure_audio.h"
7#include "core/settings.h" 7#include "core/settings.h"
8#include "ui_configure_audio.h" 8#include "ui_configure_audio.h"
9 9
diff --git a/src/citra_qt/configure_dialog.cpp b/src/citra_qt/configure_dialog.cpp
index d6a4e8af1..446ad04a1 100644
--- a/src/citra_qt/configure_dialog.cpp
+++ b/src/citra_qt/configure_dialog.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 "citra_qt/configure_dialog.h"
6#include "citra_qt/config.h" 5#include "citra_qt/config.h"
6#include "citra_qt/configure_dialog.h"
7#include "core/settings.h" 7#include "core/settings.h"
8#include "ui_configure.h" 8#include "ui_configure.h"
9 9
diff --git a/src/citra_qt/configure_input.cpp b/src/citra_qt/configure_input.cpp
index 7039301e3..d321db71f 100644
--- a/src/citra_qt/configure_input.cpp
+++ b/src/citra_qt/configure_input.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 "citra_qt/configure_input.h"
6#include <memory> 5#include <memory>
7#include <utility> 6#include <utility>
8#include <QTimer> 7#include <QTimer>
8#include "citra_qt/configure_input.h"
9 9
10ConfigureInput::ConfigureInput(QWidget* parent) 10ConfigureInput::ConfigureInput(QWidget* parent)
11 : QWidget(parent), ui(std::make_unique<Ui::ConfigureInput>()) { 11 : QWidget(parent), ui(std::make_unique<Ui::ConfigureInput>()) {
diff --git a/src/citra_qt/debugger/callstack.cpp b/src/citra_qt/debugger/callstack.cpp
index 14bd1c77c..c66f2b96a 100644
--- a/src/citra_qt/debugger/callstack.cpp
+++ b/src/citra_qt/debugger/callstack.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 "citra_qt/debugger/callstack.h"
6#include <QStandardItemModel> 5#include <QStandardItemModel>
6#include "citra_qt/debugger/callstack.h"
7#include "common/common_types.h" 7#include "common/common_types.h"
8#include "common/symbols.h" 8#include "common/symbols.h"
9#include "core/arm/arm_interface.h" 9#include "core/arm/arm_interface.h"
diff --git a/src/citra_qt/debugger/disassembler.cpp b/src/citra_qt/debugger/disassembler.cpp
index 7a5d3e2f1..1ee6bbd6a 100644
--- a/src/citra_qt/debugger/disassembler.cpp
+++ b/src/citra_qt/debugger/disassembler.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 "citra_qt/debugger/disassembler.h"
6#include <QShortcut> 5#include <QShortcut>
7#include "citra_qt/bootmanager.h" 6#include "citra_qt/bootmanager.h"
7#include "citra_qt/debugger/disassembler.h"
8#include "citra_qt/hotkeys.h" 8#include "citra_qt/hotkeys.h"
9#include "citra_qt/util/util.h" 9#include "citra_qt/util/util.h"
10#include "common/break_points.h" 10#include "common/break_points.h"
diff --git a/src/citra_qt/debugger/graphics.cpp b/src/citra_qt/debugger/graphics.cpp
index 31b54e855..ef6712bfa 100644
--- a/src/citra_qt/debugger/graphics.cpp
+++ b/src/citra_qt/debugger/graphics.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 "citra_qt/debugger/graphics.h"
6#include <QListView> 5#include <QListView>
6#include "citra_qt/debugger/graphics.h"
7#include "citra_qt/util/util.h" 7#include "citra_qt/util/util.h"
8 8
9extern GraphicsDebugger g_debugger; 9extern GraphicsDebugger g_debugger;
diff --git a/src/citra_qt/debugger/graphics_breakpoint_observer.cpp b/src/citra_qt/debugger/graphics_breakpoint_observer.cpp
index ad11552d7..e01d3440e 100644
--- a/src/citra_qt/debugger/graphics_breakpoint_observer.cpp
+++ b/src/citra_qt/debugger/graphics_breakpoint_observer.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 "citra_qt/debugger/graphics_breakpoint_observer.h"
6#include <QMetaType> 5#include <QMetaType>
6#include "citra_qt/debugger/graphics_breakpoint_observer.h"
7 7
8BreakPointObserverDock::BreakPointObserverDock(std::shared_ptr<Pica::DebugContext> debug_context, 8BreakPointObserverDock::BreakPointObserverDock(std::shared_ptr<Pica::DebugContext> debug_context,
9 const QString& title, QWidget* parent) 9 const QString& title, QWidget* parent)
diff --git a/src/citra_qt/debugger/graphics_breakpoints.cpp b/src/citra_qt/debugger/graphics_breakpoints.cpp
index e1d1b4911..d2a036dfa 100644
--- a/src/citra_qt/debugger/graphics_breakpoints.cpp
+++ b/src/citra_qt/debugger/graphics_breakpoints.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 "citra_qt/debugger/graphics_breakpoints.h"
6#include <QLabel> 5#include <QLabel>
7#include <QMetaType> 6#include <QMetaType>
8#include <QPushButton> 7#include <QPushButton>
9#include <QTreeView> 8#include <QTreeView>
10#include <QVBoxLayout> 9#include <QVBoxLayout>
10#include "citra_qt/debugger/graphics_breakpoints.h"
11#include "citra_qt/debugger/graphics_breakpoints_p.h" 11#include "citra_qt/debugger/graphics_breakpoints_p.h"
12#include "common/assert.h" 12#include "common/assert.h"
13 13
diff --git a/src/citra_qt/debugger/graphics_cmdlists.cpp b/src/citra_qt/debugger/graphics_cmdlists.cpp
index 35be9b9bd..8a784d108 100644
--- a/src/citra_qt/debugger/graphics_cmdlists.cpp
+++ b/src/citra_qt/debugger/graphics_cmdlists.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 "citra_qt/debugger/graphics_cmdlists.h"
6#include <QApplication> 5#include <QApplication>
7#include <QClipboard> 6#include <QClipboard>
8#include <QComboBox> 7#include <QComboBox>
@@ -14,6 +13,7 @@
14#include <QSpinBox> 13#include <QSpinBox>
15#include <QTreeView> 14#include <QTreeView>
16#include <QVBoxLayout> 15#include <QVBoxLayout>
16#include "citra_qt/debugger/graphics_cmdlists.h"
17#include "citra_qt/util/spinbox.h" 17#include "citra_qt/util/spinbox.h"
18#include "citra_qt/util/util.h" 18#include "citra_qt/util/util.h"
19#include "common/vector_math.h" 19#include "common/vector_math.h"
diff --git a/src/citra_qt/debugger/graphics_surface.cpp b/src/citra_qt/debugger/graphics_surface.cpp
index 496fce59d..906daaa50 100644
--- a/src/citra_qt/debugger/graphics_surface.cpp
+++ b/src/citra_qt/debugger/graphics_surface.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 "citra_qt/debugger/graphics_surface.h"
6#include <QBoxLayout> 5#include <QBoxLayout>
7#include <QComboBox> 6#include <QComboBox>
8#include <QDebug> 7#include <QDebug>
@@ -12,6 +11,7 @@
12#include <QPushButton> 11#include <QPushButton>
13#include <QScrollArea> 12#include <QScrollArea>
14#include <QSpinBox> 13#include <QSpinBox>
14#include "citra_qt/debugger/graphics_surface.h"
15#include "citra_qt/util/spinbox.h" 15#include "citra_qt/util/spinbox.h"
16#include "common/color.h" 16#include "common/color.h"
17#include "core/hw/gpu.h" 17#include "core/hw/gpu.h"
diff --git a/src/citra_qt/debugger/graphics_tracing.cpp b/src/citra_qt/debugger/graphics_tracing.cpp
index 944150b8e..5c6b74034 100644
--- a/src/citra_qt/debugger/graphics_tracing.cpp
+++ b/src/citra_qt/debugger/graphics_tracing.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 "citra_qt/debugger/graphics_tracing.h"
6#include <algorithm> 5#include <algorithm>
7#include <array> 6#include <array>
8#include <iterator> 7#include <iterator>
@@ -13,6 +12,7 @@
13#include <QMessageBox> 12#include <QMessageBox>
14#include <QPushButton> 13#include <QPushButton>
15#include <boost/range/algorithm/copy.hpp> 14#include <boost/range/algorithm/copy.hpp>
15#include "citra_qt/debugger/graphics_tracing.h"
16#include "common/common_types.h" 16#include "common/common_types.h"
17#include "core/hw/gpu.h" 17#include "core/hw/gpu.h"
18#include "core/hw/lcd.h" 18#include "core/hw/lcd.h"
diff --git a/src/citra_qt/debugger/graphics_vertex_shader.cpp b/src/citra_qt/debugger/graphics_vertex_shader.cpp
index 3b3ffe5c6..0b4320da5 100644
--- a/src/citra_qt/debugger/graphics_vertex_shader.cpp
+++ b/src/citra_qt/debugger/graphics_vertex_shader.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 "citra_qt/debugger/graphics_vertex_shader.h"
6#include <iomanip> 5#include <iomanip>
7#include <sstream> 6#include <sstream>
8#include <QBoxLayout> 7#include <QBoxLayout>
@@ -15,6 +14,7 @@
15#include <QSignalMapper> 14#include <QSignalMapper>
16#include <QSpinBox> 15#include <QSpinBox>
17#include <QTreeView> 16#include <QTreeView>
17#include "citra_qt/debugger/graphics_vertex_shader.h"
18#include "citra_qt/util/util.h" 18#include "citra_qt/util/util.h"
19#include "video_core/pica.h" 19#include "video_core/pica.h"
20#include "video_core/pica_state.h" 20#include "video_core/pica_state.h"
diff --git a/src/citra_qt/debugger/profiler.cpp b/src/citra_qt/debugger/profiler.cpp
index 39d2d6e39..cee10403d 100644
--- a/src/citra_qt/debugger/profiler.cpp
+++ b/src/citra_qt/debugger/profiler.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 "citra_qt/debugger/profiler.h"
6#include <QMouseEvent> 5#include <QMouseEvent>
7#include <QPainter> 6#include <QPainter>
8#include <QString> 7#include <QString>
8#include "citra_qt/debugger/profiler.h"
9#include "citra_qt/util/util.h" 9#include "citra_qt/util/util.h"
10#include "common/common_types.h" 10#include "common/common_types.h"
11#include "common/microprofile.h" 11#include "common/microprofile.h"
diff --git a/src/citra_qt/debugger/registers.cpp b/src/citra_qt/debugger/registers.cpp
index 13842dac3..0b644432f 100644
--- a/src/citra_qt/debugger/registers.cpp
+++ b/src/citra_qt/debugger/registers.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 "citra_qt/debugger/registers.h"
6#include <QTreeWidgetItem> 5#include <QTreeWidgetItem>
6#include "citra_qt/debugger/registers.h"
7#include "citra_qt/util/util.h" 7#include "citra_qt/util/util.h"
8#include "core/arm/arm_interface.h" 8#include "core/arm/arm_interface.h"
9#include "core/core.h" 9#include "core/core.h"
diff --git a/src/citra_qt/game_list.cpp b/src/citra_qt/game_list.cpp
index 16d31be77..07bc35308 100644
--- a/src/citra_qt/game_list.cpp
+++ b/src/citra_qt/game_list.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 "game_list.h"
6#include <QHeaderView> 5#include <QHeaderView>
7#include <QThreadPool> 6#include <QThreadPool>
8#include <QVBoxLayout> 7#include <QVBoxLayout>
@@ -10,6 +9,7 @@
10#include "common/logging/log.h" 9#include "common/logging/log.h"
11#include "common/string_util.h" 10#include "common/string_util.h"
12#include "core/loader/loader.h" 11#include "core/loader/loader.h"
12#include "game_list.h"
13#include "game_list_p.h" 13#include "game_list_p.h"
14#include "ui_settings.h" 14#include "ui_settings.h"
15 15
diff --git a/src/citra_qt/hotkeys.cpp b/src/citra_qt/hotkeys.cpp
index 9037f20f2..158ed506f 100644
--- a/src/citra_qt/hotkeys.cpp
+++ b/src/citra_qt/hotkeys.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 "citra_qt/hotkeys.h"
6#include <map> 5#include <map>
7#include <QKeySequence> 6#include <QKeySequence>
8#include <QShortcut> 7#include <QShortcut>
9#include <QtGlobal> 8#include <QtGlobal>
9#include "citra_qt/hotkeys.h"
10#include "citra_qt/ui_settings.h" 10#include "citra_qt/ui_settings.h"
11 11
12struct Hotkey { 12struct Hotkey {
diff --git a/src/citra_qt/util/spinbox.cpp b/src/citra_qt/util/spinbox.cpp
index 0bda21502..feb0ea1b3 100644
--- a/src/citra_qt/util/spinbox.cpp
+++ b/src/citra_qt/util/spinbox.cpp
@@ -28,10 +28,10 @@
28// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 30
31#include "citra_qt/util/spinbox.h"
32#include <cstdlib> 31#include <cstdlib>
33#include <QLineEdit> 32#include <QLineEdit>
34#include <QRegExpValidator> 33#include <QRegExpValidator>
34#include "citra_qt/util/spinbox.h"
35#include "common/assert.h" 35#include "common/assert.h"
36 36
37CSpinBox::CSpinBox(QWidget* parent) 37CSpinBox::CSpinBox(QWidget* parent)
diff --git a/src/citra_qt/util/util.cpp b/src/citra_qt/util/util.cpp
index e77d3796c..02be92bbd 100644
--- a/src/citra_qt/util/util.cpp
+++ b/src/citra_qt/util/util.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 "citra_qt/util/util.h"
6#include <array> 5#include <array>
7#include <cmath> 6#include <cmath>
7#include "citra_qt/util/util.h"
8 8
9QFont GetMonospaceFont() { 9QFont GetMonospaceFont() {
10 QFont font("monospace"); 10 QFont font("monospace");
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;
diff --git a/src/core/arm/disassembler/arm_disasm.cpp b/src/core/arm/disassembler/arm_disasm.cpp
index 068f395ac..05d6ed1fb 100644
--- a/src/core/arm/disassembler/arm_disasm.cpp
+++ b/src/core/arm/disassembler/arm_disasm.cpp
@@ -1,10 +1,10 @@
1// Copyright 2006 The Android Open Source Project 1// Copyright 2006 The Android Open Source Project
2 2
3#include "core/arm/disassembler/arm_disasm.h"
4#include <string> 3#include <string>
5#include <unordered_set> 4#include <unordered_set>
6#include "common/common_types.h" 5#include "common/common_types.h"
7#include "common/string_util.h" 6#include "common/string_util.h"
7#include "core/arm/disassembler/arm_disasm.h"
8#include "core/arm/skyeye_common/armsupp.h" 8#include "core/arm/skyeye_common/armsupp.h"
9 9
10static const char* cond_names[] = {"eq", "ne", "cs", "cc", "mi", "pl", "vs", "vc", 10static const char* cond_names[] = {"eq", "ne", "cs", "cc", "mi", "pl", "vs", "vc",
diff --git a/src/core/arm/disassembler/load_symbol_map.cpp b/src/core/arm/disassembler/load_symbol_map.cpp
index e602d4511..6863c103a 100644
--- a/src/core/arm/disassembler/load_symbol_map.cpp
+++ b/src/core/arm/disassembler/load_symbol_map.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 "core/arm/disassembler/load_symbol_map.h"
6#include <sstream> 5#include <sstream>
7#include <string> 6#include <string>
8#include <vector> 7#include <vector>
9#include "common/file_util.h" 8#include "common/file_util.h"
10#include "common/symbols.h" 9#include "common/symbols.h"
10#include "core/arm/disassembler/load_symbol_map.h"
11 11
12/* 12/*
13 * Loads a symbol map file for use with the disassembler 13 * Loads a symbol map file for use with the disassembler
diff --git a/src/core/arm/dynarmic/arm_dynarmic.cpp b/src/core/arm/dynarmic/arm_dynarmic.cpp
index b57d9e65b..b4444c869 100644
--- a/src/core/arm/dynarmic/arm_dynarmic.cpp
+++ b/src/core/arm/dynarmic/arm_dynarmic.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 "core/arm/dynarmic/arm_dynarmic.h"
6#include <dynarmic/dynarmic.h> 5#include <dynarmic/dynarmic.h>
7#include "common/assert.h" 6#include "common/assert.h"
8#include "common/microprofile.h" 7#include "common/microprofile.h"
8#include "core/arm/dynarmic/arm_dynarmic.h"
9#include "core/arm/dyncom/arm_dyncom_interpreter.h" 9#include "core/arm/dyncom/arm_dyncom_interpreter.h"
10#include "core/core.h" 10#include "core/core.h"
11#include "core/core_timing.h" 11#include "core/core_timing.h"
diff --git a/src/core/arm/dyncom/arm_dyncom.cpp b/src/core/arm/dyncom/arm_dyncom.cpp
index bc9ba2941..34c7f945e 100644
--- a/src/core/arm/dyncom/arm_dyncom.cpp
+++ b/src/core/arm/dyncom/arm_dyncom.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 "core/arm/dyncom/arm_dyncom.h"
6#include <cstring> 5#include <cstring>
7#include <memory> 6#include <memory>
7#include "core/arm/dyncom/arm_dyncom.h"
8#include "core/arm/dyncom/arm_dyncom_interpreter.h" 8#include "core/arm/dyncom/arm_dyncom_interpreter.h"
9#include "core/arm/dyncom/arm_dyncom_run.h" 9#include "core/arm/dyncom/arm_dyncom_run.h"
10#include "core/arm/dyncom/arm_dyncom_trans.h" 10#include "core/arm/dyncom/arm_dyncom_trans.h"
diff --git a/src/core/arm/dyncom/arm_dyncom_interpreter.cpp b/src/core/arm/dyncom/arm_dyncom_interpreter.cpp
index 4f83d8332..7b8616702 100644
--- a/src/core/arm/dyncom/arm_dyncom_interpreter.cpp
+++ b/src/core/arm/dyncom/arm_dyncom_interpreter.cpp
@@ -4,7 +4,6 @@
4 4
5#define CITRA_IGNORE_EXIT(x) 5#define CITRA_IGNORE_EXIT(x)
6 6
7#include "core/arm/dyncom/arm_dyncom_interpreter.h"
8#include <algorithm> 7#include <algorithm>
9#include <cstdio> 8#include <cstdio>
10#include "common/common_types.h" 9#include "common/common_types.h"
@@ -12,6 +11,7 @@
12#include "common/microprofile.h" 11#include "common/microprofile.h"
13#include "core/arm/disassembler/arm_disasm.h" 12#include "core/arm/disassembler/arm_disasm.h"
14#include "core/arm/dyncom/arm_dyncom_dec.h" 13#include "core/arm/dyncom/arm_dyncom_dec.h"
14#include "core/arm/dyncom/arm_dyncom_interpreter.h"
15#include "core/arm/dyncom/arm_dyncom_run.h" 15#include "core/arm/dyncom/arm_dyncom_run.h"
16#include "core/arm/dyncom/arm_dyncom_thumb.h" 16#include "core/arm/dyncom/arm_dyncom_thumb.h"
17#include "core/arm/dyncom/arm_dyncom_trans.h" 17#include "core/arm/dyncom/arm_dyncom_trans.h"
diff --git a/src/core/arm/dyncom/arm_dyncom_trans.cpp b/src/core/arm/dyncom/arm_dyncom_trans.cpp
index 5f3644c28..780638638 100644
--- a/src/core/arm/dyncom/arm_dyncom_trans.cpp
+++ b/src/core/arm/dyncom/arm_dyncom_trans.cpp
@@ -1,8 +1,8 @@
1#include "core/arm/dyncom/arm_dyncom_trans.h"
2#include <cstdlib> 1#include <cstdlib>
3#include "common/assert.h" 2#include "common/assert.h"
4#include "common/common_types.h" 3#include "common/common_types.h"
5#include "core/arm/dyncom/arm_dyncom_interpreter.h" 4#include "core/arm/dyncom/arm_dyncom_interpreter.h"
5#include "core/arm/dyncom/arm_dyncom_trans.h"
6#include "core/arm/skyeye_common/armstate.h" 6#include "core/arm/skyeye_common/armstate.h"
7#include "core/arm/skyeye_common/armsupp.h" 7#include "core/arm/skyeye_common/armsupp.h"
8#include "core/arm/skyeye_common/vfp/vfp.h" 8#include "core/arm/skyeye_common/vfp/vfp.h"
diff --git a/src/core/arm/skyeye_common/armstate.cpp b/src/core/arm/skyeye_common/armstate.cpp
index 59329c656..1465b074e 100644
--- a/src/core/arm/skyeye_common/armstate.cpp
+++ b/src/core/arm/skyeye_common/armstate.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 "core/arm/skyeye_common/armstate.h"
6#include <algorithm> 5#include <algorithm>
7#include "common/logging/log.h" 6#include "common/logging/log.h"
8#include "common/swap.h" 7#include "common/swap.h"
8#include "core/arm/skyeye_common/armstate.h"
9#include "core/arm/skyeye_common/vfp/vfp.h" 9#include "core/arm/skyeye_common/vfp/vfp.h"
10#include "core/gdbstub/gdbstub.h" 10#include "core/gdbstub/gdbstub.h"
11#include "core/memory.h" 11#include "core/memory.h"
diff --git a/src/core/arm/skyeye_common/armsupp.cpp b/src/core/arm/skyeye_common/armsupp.cpp
index b76942e47..06aa1b075 100644
--- a/src/core/arm/skyeye_common/armsupp.cpp
+++ b/src/core/arm/skyeye_common/armsupp.cpp
@@ -15,10 +15,10 @@
15 along with this program; if not, write to the Free Software 15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ 16 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
17 17
18#include "core/arm/skyeye_common/armsupp.h"
19#include "common/logging/log.h" 18#include "common/logging/log.h"
20#include "core/arm/skyeye_common/arm_regformat.h" 19#include "core/arm/skyeye_common/arm_regformat.h"
21#include "core/arm/skyeye_common/armstate.h" 20#include "core/arm/skyeye_common/armstate.h"
21#include "core/arm/skyeye_common/armsupp.h"
22 22
23// Unsigned sum of absolute difference 23// Unsigned sum of absolute difference
24u8 ARMul_UnsignedAbsoluteDifference(u8 left, u8 right) { 24u8 ARMul_UnsignedAbsoluteDifference(u8 left, u8 right) {
diff --git a/src/core/arm/skyeye_common/vfp/vfp.cpp b/src/core/arm/skyeye_common/vfp/vfp.cpp
index 8ac1fb95e..f36c75a07 100644
--- a/src/core/arm/skyeye_common/vfp/vfp.cpp
+++ b/src/core/arm/skyeye_common/vfp/vfp.cpp
@@ -20,12 +20,12 @@
20 20
21/* Note: this file handles interface with arm core and vfp registers */ 21/* Note: this file handles interface with arm core and vfp registers */
22 22
23#include "core/arm/skyeye_common/vfp/vfp.h"
24#include "common/common_funcs.h" 23#include "common/common_funcs.h"
25#include "common/common_types.h" 24#include "common/common_types.h"
26#include "common/logging/log.h" 25#include "common/logging/log.h"
27#include "core/arm/skyeye_common/armstate.h" 26#include "core/arm/skyeye_common/armstate.h"
28#include "core/arm/skyeye_common/vfp/asm_vfp.h" 27#include "core/arm/skyeye_common/vfp/asm_vfp.h"
28#include "core/arm/skyeye_common/vfp/vfp.h"
29 29
30void VFPInit(ARMul_State* state) { 30void VFPInit(ARMul_State* state) {
31 state->VFP[VFP_FPSID] = VFP_FPSID_IMPLMEN << 24 | VFP_FPSID_SW << 23 | VFP_FPSID_SUBARCH << 16 | 31 state->VFP[VFP_FPSID] = VFP_FPSID_IMPLMEN << 24 | VFP_FPSID_SW << 23 | VFP_FPSID_SUBARCH << 16 |
diff --git a/src/core/arm/skyeye_common/vfp/vfpdouble.cpp b/src/core/arm/skyeye_common/vfp/vfpdouble.cpp
index 4d89743e7..2886f351f 100644
--- a/src/core/arm/skyeye_common/vfp/vfpdouble.cpp
+++ b/src/core/arm/skyeye_common/vfp/vfpdouble.cpp
@@ -51,10 +51,10 @@
51 * =========================================================================== 51 * ===========================================================================
52 */ 52 */
53 53
54#include "core/arm/skyeye_common/vfp/vfp.h"
55#include <algorithm> 54#include <algorithm>
56#include "common/logging/log.h" 55#include "common/logging/log.h"
57#include "core/arm/skyeye_common/vfp/asm_vfp.h" 56#include "core/arm/skyeye_common/vfp/asm_vfp.h"
57#include "core/arm/skyeye_common/vfp/vfp.h"
58#include "core/arm/skyeye_common/vfp/vfp_helper.h" 58#include "core/arm/skyeye_common/vfp/vfp_helper.h"
59 59
60static struct vfp_double vfp_double_default_qnan = { 60static struct vfp_double vfp_double_default_qnan = {
diff --git a/src/core/arm/skyeye_common/vfp/vfpsingle.cpp b/src/core/arm/skyeye_common/vfp/vfpsingle.cpp
index 35f9d84d5..1590d89a4 100644
--- a/src/core/arm/skyeye_common/vfp/vfpsingle.cpp
+++ b/src/core/arm/skyeye_common/vfp/vfpsingle.cpp
@@ -51,13 +51,13 @@
51 * =========================================================================== 51 * ===========================================================================
52 */ 52 */
53 53
54#include "core/arm/skyeye_common/vfp/vfp.h"
55#include <algorithm> 54#include <algorithm>
56#include <cinttypes> 55#include <cinttypes>
57#include "common/common_funcs.h" 56#include "common/common_funcs.h"
58#include "common/common_types.h" 57#include "common/common_types.h"
59#include "common/logging/log.h" 58#include "common/logging/log.h"
60#include "core/arm/skyeye_common/vfp/asm_vfp.h" 59#include "core/arm/skyeye_common/vfp/asm_vfp.h"
60#include "core/arm/skyeye_common/vfp/vfp.h"
61#include "core/arm/skyeye_common/vfp/vfp_helper.h" 61#include "core/arm/skyeye_common/vfp/vfp_helper.h"
62 62
63static struct vfp_single vfp_single_default_qnan = { 63static struct vfp_single vfp_single_default_qnan = {
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 346b6a0ae..49ac8be6e 100644
--- a/src/core/core.cpp
+++ b/src/core/core.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 "core/core.h"
6#include <memory> 5#include <memory>
7#include "common/logging/log.h" 6#include "common/logging/log.h"
8#include "core/arm/arm_interface.h" 7#include "core/arm/arm_interface.h"
9#include "core/arm/dynarmic/arm_dynarmic.h" 8#include "core/arm/dynarmic/arm_dynarmic.h"
10#include "core/arm/dyncom/arm_dyncom.h" 9#include "core/arm/dyncom/arm_dyncom.h"
10#include "core/core.h"
11#include "core/core_timing.h" 11#include "core/core_timing.h"
12#include "core/gdbstub/gdbstub.h" 12#include "core/gdbstub/gdbstub.h"
13#include "core/hle/hle.h" 13#include "core/hle/hle.h"
diff --git a/src/core/core_timing.cpp b/src/core/core_timing.cpp
index 4f38403e3..5220b55ea 100644
--- a/src/core/core_timing.cpp
+++ b/src/core/core_timing.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 "core/core.h"
6#include <atomic> 5#include <atomic>
7#include <cinttypes> 6#include <cinttypes>
8#include <mutex> 7#include <mutex>
@@ -11,6 +10,7 @@
11#include "common/logging/log.h" 10#include "common/logging/log.h"
12#include "common/string_util.h" 11#include "common/string_util.h"
13#include "core/arm/arm_interface.h" 12#include "core/arm/arm_interface.h"
13#include "core/core.h"
14#include "core/core_timing.h" 14#include "core/core_timing.h"
15 15
16int g_clock_rate_arm11 = 268123480; 16int g_clock_rate_arm11 = 268123480;
diff --git a/src/core/file_sys/archive_backend.cpp b/src/core/file_sys/archive_backend.cpp
index 5c02fb748..1fae0ede0 100644
--- a/src/core/file_sys/archive_backend.cpp
+++ b/src/core/file_sys/archive_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 "core/file_sys/archive_backend.h"
6#include <cstddef> 5#include <cstddef>
7#include <iomanip> 6#include <iomanip>
8#include <sstream> 7#include <sstream>
9#include "common/logging/log.h" 8#include "common/logging/log.h"
10#include "common/string_util.h" 9#include "common/string_util.h"
10#include "core/file_sys/archive_backend.h"
11#include "core/memory.h" 11#include "core/memory.h"
12 12
13namespace FileSys { 13namespace FileSys {
diff --git a/src/core/file_sys/archive_extsavedata.cpp b/src/core/file_sys/archive_extsavedata.cpp
index ed9fecd64..e1d29efd3 100644
--- a/src/core/file_sys/archive_extsavedata.cpp
+++ b/src/core/file_sys/archive_extsavedata.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 "core/file_sys/archive_extsavedata.h"
6#include <algorithm> 5#include <algorithm>
7#include <memory> 6#include <memory>
8#include <vector> 7#include <vector>
@@ -10,6 +9,7 @@
10#include "common/file_util.h" 9#include "common/file_util.h"
11#include "common/logging/log.h" 10#include "common/logging/log.h"
12#include "common/string_util.h" 11#include "common/string_util.h"
12#include "core/file_sys/archive_extsavedata.h"
13#include "core/file_sys/disk_archive.h" 13#include "core/file_sys/disk_archive.h"
14#include "core/hle/service/fs/archive.h" 14#include "core/hle/service/fs/archive.h"
15 15
diff --git a/src/core/file_sys/archive_romfs.cpp b/src/core/file_sys/archive_romfs.cpp
index 7c0e1da21..6c99ca5b4 100644
--- a/src/core/file_sys/archive_romfs.cpp
+++ b/src/core/file_sys/archive_romfs.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 "core/file_sys/archive_romfs.h"
6#include <algorithm> 5#include <algorithm>
7#include <memory> 6#include <memory>
8#include "common/common_types.h" 7#include "common/common_types.h"
9#include "common/logging/log.h" 8#include "common/logging/log.h"
9#include "core/file_sys/archive_romfs.h"
10#include "core/file_sys/ivfc_archive.h" 10#include "core/file_sys/ivfc_archive.h"
11 11
12//////////////////////////////////////////////////////////////////////////////////////////////////// 12////////////////////////////////////////////////////////////////////////////////////////////////////
diff --git a/src/core/file_sys/archive_savedata.cpp b/src/core/file_sys/archive_savedata.cpp
index 829f97743..6711035ec 100644
--- a/src/core/file_sys/archive_savedata.cpp
+++ b/src/core/file_sys/archive_savedata.cpp
@@ -2,13 +2,13 @@
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 "core/file_sys/archive_savedata.h"
6#include <algorithm> 5#include <algorithm>
7#include <memory> 6#include <memory>
8#include "common/common_types.h" 7#include "common/common_types.h"
9#include "common/file_util.h" 8#include "common/file_util.h"
10#include "common/logging/log.h" 9#include "common/logging/log.h"
11#include "common/string_util.h" 10#include "common/string_util.h"
11#include "core/file_sys/archive_savedata.h"
12#include "core/file_sys/disk_archive.h" 12#include "core/file_sys/disk_archive.h"
13#include "core/hle/kernel/process.h" 13#include "core/hle/kernel/process.h"
14#include "core/hle/service/fs/archive.h" 14#include "core/hle/service/fs/archive.h"
diff --git a/src/core/file_sys/archive_savedatacheck.cpp b/src/core/file_sys/archive_savedatacheck.cpp
index 8bdf24b1f..6c4542b7d 100644
--- a/src/core/file_sys/archive_savedatacheck.cpp
+++ b/src/core/file_sys/archive_savedatacheck.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 "core/file_sys/archive_savedatacheck.h"
6#include <algorithm> 5#include <algorithm>
7#include <memory> 6#include <memory>
8#include <vector> 7#include <vector>
@@ -10,6 +9,7 @@
10#include "common/file_util.h" 9#include "common/file_util.h"
11#include "common/logging/log.h" 10#include "common/logging/log.h"
12#include "common/string_util.h" 11#include "common/string_util.h"
12#include "core/file_sys/archive_savedatacheck.h"
13#include "core/file_sys/ivfc_archive.h" 13#include "core/file_sys/ivfc_archive.h"
14#include "core/hle/service/fs/archive.h" 14#include "core/hle/service/fs/archive.h"
15 15
diff --git a/src/core/file_sys/archive_sdmc.cpp b/src/core/file_sys/archive_sdmc.cpp
index 887cfbb0f..bcb03ed36 100644
--- a/src/core/file_sys/archive_sdmc.cpp
+++ b/src/core/file_sys/archive_sdmc.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 "core/file_sys/archive_sdmc.h"
6#include <algorithm> 5#include <algorithm>
7#include <memory> 6#include <memory>
8#include "common/file_util.h" 7#include "common/file_util.h"
9#include "common/logging/log.h" 8#include "common/logging/log.h"
9#include "core/file_sys/archive_sdmc.h"
10#include "core/file_sys/disk_archive.h" 10#include "core/file_sys/disk_archive.h"
11#include "core/settings.h" 11#include "core/settings.h"
12 12
diff --git a/src/core/file_sys/archive_systemsavedata.cpp b/src/core/file_sys/archive_systemsavedata.cpp
index b3dfcf897..48ebc0ed4 100644
--- a/src/core/file_sys/archive_systemsavedata.cpp
+++ b/src/core/file_sys/archive_systemsavedata.cpp
@@ -2,13 +2,13 @@
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 "core/file_sys/archive_systemsavedata.h"
6#include <algorithm> 5#include <algorithm>
7#include <memory> 6#include <memory>
8#include <vector> 7#include <vector>
9#include "common/common_types.h" 8#include "common/common_types.h"
10#include "common/file_util.h" 9#include "common/file_util.h"
11#include "common/string_util.h" 10#include "common/string_util.h"
11#include "core/file_sys/archive_systemsavedata.h"
12#include "core/file_sys/disk_archive.h" 12#include "core/file_sys/disk_archive.h"
13#include "core/hle/service/fs/archive.h" 13#include "core/hle/service/fs/archive.h"
14 14
diff --git a/src/core/file_sys/disk_archive.cpp b/src/core/file_sys/disk_archive.cpp
index 7e88473bd..0f66998e1 100644
--- a/src/core/file_sys/disk_archive.cpp
+++ b/src/core/file_sys/disk_archive.cpp
@@ -2,13 +2,13 @@
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 "core/file_sys/disk_archive.h"
6#include <algorithm> 5#include <algorithm>
7#include <cstdio> 6#include <cstdio>
8#include <memory> 7#include <memory>
9#include "common/common_types.h" 8#include "common/common_types.h"
10#include "common/file_util.h" 9#include "common/file_util.h"
11#include "common/logging/log.h" 10#include "common/logging/log.h"
11#include "core/file_sys/disk_archive.h"
12 12
13//////////////////////////////////////////////////////////////////////////////////////////////////// 13////////////////////////////////////////////////////////////////////////////////////////////////////
14// FileSys namespace 14// FileSys namespace
diff --git a/src/core/file_sys/ivfc_archive.cpp b/src/core/file_sys/ivfc_archive.cpp
index 5add3254b..49cc1de10 100644
--- a/src/core/file_sys/ivfc_archive.cpp
+++ b/src/core/file_sys/ivfc_archive.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 "core/file_sys/ivfc_archive.h"
6#include <cstring> 5#include <cstring>
7#include <memory> 6#include <memory>
8#include "common/common_types.h" 7#include "common/common_types.h"
9#include "common/logging/log.h" 8#include "common/logging/log.h"
9#include "core/file_sys/ivfc_archive.h"
10 10
11//////////////////////////////////////////////////////////////////////////////////////////////////// 11////////////////////////////////////////////////////////////////////////////////////////////////////
12// FileSys namespace 12// FileSys namespace
diff --git a/src/core/hle/applets/applet.cpp b/src/core/hle/applets/applet.cpp
index 35e683cb3..4311d9897 100644
--- a/src/core/hle/applets/applet.cpp
+++ b/src/core/hle/applets/applet.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 "core/hle/applets/applet.h"
6#include <cstddef> 5#include <cstddef>
7#include <memory> 6#include <memory>
8#include <type_traits> 7#include <type_traits>
@@ -10,6 +9,7 @@
10#include "common/assert.h" 9#include "common/assert.h"
11#include "common/common_types.h" 10#include "common/common_types.h"
12#include "core/core_timing.h" 11#include "core/core_timing.h"
12#include "core/hle/applets/applet.h"
13#include "core/hle/applets/erreula.h" 13#include "core/hle/applets/erreula.h"
14#include "core/hle/applets/mii_selector.h" 14#include "core/hle/applets/mii_selector.h"
15#include "core/hle/applets/swkbd.h" 15#include "core/hle/applets/swkbd.h"
diff --git a/src/core/hle/applets/erreula.cpp b/src/core/hle/applets/erreula.cpp
index 9ad77994c..14964427b 100644
--- a/src/core/hle/applets/erreula.cpp
+++ b/src/core/hle/applets/erreula.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 "core/hle/applets/erreula.h"
6#include "common/string_util.h" 5#include "common/string_util.h"
6#include "core/hle/applets/erreula.h"
7#include "core/hle/service/apt/apt.h" 7#include "core/hle/service/apt/apt.h"
8 8
9namespace HLE { 9namespace HLE {
diff --git a/src/core/hle/applets/mii_selector.cpp b/src/core/hle/applets/mii_selector.cpp
index 53d5b4ab4..53a8683a4 100644
--- a/src/core/hle/applets/mii_selector.cpp
+++ b/src/core/hle/applets/mii_selector.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 "core/hle/applets/mii_selector.h"
6#include <cstring> 5#include <cstring>
7#include <string> 6#include <string>
8#include "common/assert.h" 7#include "common/assert.h"
9#include "common/logging/log.h" 8#include "common/logging/log.h"
10#include "common/string_util.h" 9#include "common/string_util.h"
10#include "core/hle/applets/mii_selector.h"
11#include "core/hle/kernel/kernel.h" 11#include "core/hle/kernel/kernel.h"
12#include "core/hle/kernel/shared_memory.h" 12#include "core/hle/kernel/shared_memory.h"
13#include "core/hle/result.h" 13#include "core/hle/result.h"
diff --git a/src/core/hle/applets/swkbd.cpp b/src/core/hle/applets/swkbd.cpp
index b26107332..06ddf538b 100644
--- a/src/core/hle/applets/swkbd.cpp
+++ b/src/core/hle/applets/swkbd.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 "core/hle/applets/swkbd.h"
6#include <cstring> 5#include <cstring>
7#include <string> 6#include <string>
8#include "common/assert.h" 7#include "common/assert.h"
9#include "common/logging/log.h" 8#include "common/logging/log.h"
10#include "common/string_util.h" 9#include "common/string_util.h"
10#include "core/hle/applets/swkbd.h"
11#include "core/hle/kernel/kernel.h" 11#include "core/hle/kernel/kernel.h"
12#include "core/hle/kernel/shared_memory.h" 12#include "core/hle/kernel/shared_memory.h"
13#include "core/hle/result.h" 13#include "core/hle/result.h"
diff --git a/src/core/hle/config_mem.cpp b/src/core/hle/config_mem.cpp
index 00efc179e..ccd73cfcb 100644
--- a/src/core/hle/config_mem.cpp
+++ b/src/core/hle/config_mem.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 "core/hle/config_mem.h"
6#include <cstring> 5#include <cstring>
6#include "core/hle/config_mem.h"
7 7
8//////////////////////////////////////////////////////////////////////////////////////////////////// 8////////////////////////////////////////////////////////////////////////////////////////////////////
9 9
diff --git a/src/core/hle/hle.cpp b/src/core/hle/hle.cpp
index 5749068d6..41b772163 100644
--- a/src/core/hle/hle.cpp
+++ b/src/core/hle/hle.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 "core/hle/hle.h"
6#include "common/assert.h" 5#include "common/assert.h"
7#include "common/logging/log.h" 6#include "common/logging/log.h"
8#include "core/arm/arm_interface.h" 7#include "core/arm/arm_interface.h"
9#include "core/core.h" 8#include "core/core.h"
9#include "core/hle/hle.h"
10#include "core/hle/service/service.h" 10#include "core/hle/service/service.h"
11 11
12//////////////////////////////////////////////////////////////////////////////////////////////////// 12////////////////////////////////////////////////////////////////////////////////////////////////////
diff --git a/src/core/hle/kernel/address_arbiter.cpp b/src/core/hle/kernel/address_arbiter.cpp
index bcb4ee46f..37eec4c84 100644
--- a/src/core/hle/kernel/address_arbiter.cpp
+++ b/src/core/hle/kernel/address_arbiter.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 "core/hle/kernel/address_arbiter.h"
6#include "common/common_types.h" 5#include "common/common_types.h"
7#include "common/logging/log.h" 6#include "common/logging/log.h"
8#include "core/hle/hle.h" 7#include "core/hle/hle.h"
8#include "core/hle/kernel/address_arbiter.h"
9#include "core/hle/kernel/thread.h" 9#include "core/hle/kernel/thread.h"
10#include "core/memory.h" 10#include "core/memory.h"
11 11
diff --git a/src/core/hle/kernel/client_port.cpp b/src/core/hle/kernel/client_port.cpp
index eed333995..aedc6f989 100644
--- a/src/core/hle/kernel/client_port.cpp
+++ b/src/core/hle/kernel/client_port.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 "core/hle/kernel/client_port.h"
6#include "common/assert.h" 5#include "common/assert.h"
6#include "core/hle/kernel/client_port.h"
7#include "core/hle/kernel/kernel.h" 7#include "core/hle/kernel/kernel.h"
8#include "core/hle/kernel/server_port.h" 8#include "core/hle/kernel/server_port.h"
9 9
diff --git a/src/core/hle/kernel/event.cpp b/src/core/hle/kernel/event.cpp
index cf8e6fa17..1489c7002 100644
--- a/src/core/hle/kernel/event.cpp
+++ b/src/core/hle/kernel/event.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 "core/hle/kernel/event.h"
6#include <algorithm> 5#include <algorithm>
7#include <map> 6#include <map>
8#include <vector> 7#include <vector>
9#include "common/assert.h" 8#include "common/assert.h"
9#include "core/hle/kernel/event.h"
10#include "core/hle/kernel/kernel.h" 10#include "core/hle/kernel/kernel.h"
11#include "core/hle/kernel/thread.h" 11#include "core/hle/kernel/thread.h"
12 12
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp
index 49bf95618..9a2c8ce05 100644
--- a/src/core/hle/kernel/kernel.cpp
+++ b/src/core/hle/kernel/kernel.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 "core/hle/kernel/kernel.h"
6#include <algorithm> 5#include <algorithm>
7#include "common/assert.h" 6#include "common/assert.h"
8#include "common/logging/log.h" 7#include "common/logging/log.h"
9#include "core/hle/config_mem.h" 8#include "core/hle/config_mem.h"
9#include "core/hle/kernel/kernel.h"
10#include "core/hle/kernel/memory.h" 10#include "core/hle/kernel/memory.h"
11#include "core/hle/kernel/process.h" 11#include "core/hle/kernel/process.h"
12#include "core/hle/kernel/resource_limit.h" 12#include "core/hle/kernel/resource_limit.h"
diff --git a/src/core/hle/kernel/memory.cpp b/src/core/hle/kernel/memory.cpp
index d13bc74c6..e65fd5c41 100644
--- a/src/core/hle/kernel/memory.cpp
+++ b/src/core/hle/kernel/memory.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 "core/hle/kernel/memory.h"
6#include <map> 5#include <map>
7#include <memory> 6#include <memory>
8#include <utility> 7#include <utility>
@@ -11,6 +10,7 @@
11#include "common/common_types.h" 10#include "common/common_types.h"
12#include "common/logging/log.h" 11#include "common/logging/log.h"
13#include "core/hle/config_mem.h" 12#include "core/hle/config_mem.h"
13#include "core/hle/kernel/memory.h"
14#include "core/hle/kernel/vm_manager.h" 14#include "core/hle/kernel/vm_manager.h"
15#include "core/hle/result.h" 15#include "core/hle/result.h"
16#include "core/hle/shared_page.h" 16#include "core/hle/shared_page.h"
diff --git a/src/core/hle/kernel/mutex.cpp b/src/core/hle/kernel/mutex.cpp
index 4cd237b44..736944bae 100644
--- a/src/core/hle/kernel/mutex.cpp
+++ b/src/core/hle/kernel/mutex.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 "core/hle/kernel/mutex.h"
6#include <map> 5#include <map>
7#include <vector> 6#include <vector>
8#include <boost/range/algorithm_ext/erase.hpp> 7#include <boost/range/algorithm_ext/erase.hpp>
9#include "common/assert.h" 8#include "common/assert.h"
10#include "core/hle/kernel/kernel.h" 9#include "core/hle/kernel/kernel.h"
10#include "core/hle/kernel/mutex.h"
11#include "core/hle/kernel/thread.h" 11#include "core/hle/kernel/thread.h"
12 12
13namespace Kernel { 13namespace Kernel {
diff --git a/src/core/hle/kernel/process.cpp b/src/core/hle/kernel/process.cpp
index a94d74263..ba80fe7f8 100644
--- a/src/core/hle/kernel/process.cpp
+++ b/src/core/hle/kernel/process.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 "core/hle/kernel/process.h"
6#include <memory> 5#include <memory>
7#include "common/assert.h" 6#include "common/assert.h"
8#include "common/common_funcs.h" 7#include "common/common_funcs.h"
9#include "common/logging/log.h" 8#include "common/logging/log.h"
10#include "core/hle/kernel/memory.h" 9#include "core/hle/kernel/memory.h"
10#include "core/hle/kernel/process.h"
11#include "core/hle/kernel/resource_limit.h" 11#include "core/hle/kernel/resource_limit.h"
12#include "core/hle/kernel/thread.h" 12#include "core/hle/kernel/thread.h"
13#include "core/hle/kernel/vm_manager.h" 13#include "core/hle/kernel/vm_manager.h"
diff --git a/src/core/hle/kernel/resource_limit.cpp b/src/core/hle/kernel/resource_limit.cpp
index 64c91cc62..253ab7045 100644
--- a/src/core/hle/kernel/resource_limit.cpp
+++ b/src/core/hle/kernel/resource_limit.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 "core/hle/kernel/resource_limit.h"
6#include <cstring> 5#include <cstring>
7#include "common/logging/log.h" 6#include "common/logging/log.h"
7#include "core/hle/kernel/resource_limit.h"
8 8
9namespace Kernel { 9namespace Kernel {
10 10
diff --git a/src/core/hle/kernel/semaphore.cpp b/src/core/hle/kernel/semaphore.cpp
index 2a9ced5b9..bf7600780 100644
--- a/src/core/hle/kernel/semaphore.cpp
+++ b/src/core/hle/kernel/semaphore.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 "core/hle/kernel/semaphore.h"
6#include "common/assert.h" 5#include "common/assert.h"
7#include "core/hle/kernel/kernel.h" 6#include "core/hle/kernel/kernel.h"
7#include "core/hle/kernel/semaphore.h"
8#include "core/hle/kernel/thread.h" 8#include "core/hle/kernel/thread.h"
9 9
10namespace Kernel { 10namespace Kernel {
diff --git a/src/core/hle/kernel/server_port.cpp b/src/core/hle/kernel/server_port.cpp
index 12a709cee..8e3ec8a14 100644
--- a/src/core/hle/kernel/server_port.cpp
+++ b/src/core/hle/kernel/server_port.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 "core/hle/kernel/server_port.h"
6#include <tuple> 5#include <tuple>
7#include "common/assert.h" 6#include "common/assert.h"
8#include "core/hle/kernel/client_port.h" 7#include "core/hle/kernel/client_port.h"
9#include "core/hle/kernel/kernel.h" 8#include "core/hle/kernel/kernel.h"
9#include "core/hle/kernel/server_port.h"
10#include "core/hle/kernel/thread.h" 10#include "core/hle/kernel/thread.h"
11 11
12namespace Kernel { 12namespace Kernel {
diff --git a/src/core/hle/kernel/shared_memory.cpp b/src/core/hle/kernel/shared_memory.cpp
index 8ab916e5b..bc1560d12 100644
--- a/src/core/hle/kernel/shared_memory.cpp
+++ b/src/core/hle/kernel/shared_memory.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 "core/hle/kernel/shared_memory.h"
6#include <cstring> 5#include <cstring>
7#include "common/logging/log.h" 6#include "common/logging/log.h"
8#include "core/hle/kernel/memory.h" 7#include "core/hle/kernel/memory.h"
8#include "core/hle/kernel/shared_memory.h"
9#include "core/memory.h" 9#include "core/memory.h"
10 10
11namespace Kernel { 11namespace Kernel {
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp
index 0185c3ae3..4486a812c 100644
--- a/src/core/hle/kernel/thread.cpp
+++ b/src/core/hle/kernel/thread.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 "core/hle/kernel/thread.h"
6#include <algorithm> 5#include <algorithm>
7#include <list> 6#include <list>
8#include <vector> 7#include <vector>
@@ -20,6 +19,7 @@
20#include "core/hle/kernel/memory.h" 19#include "core/hle/kernel/memory.h"
21#include "core/hle/kernel/mutex.h" 20#include "core/hle/kernel/mutex.h"
22#include "core/hle/kernel/process.h" 21#include "core/hle/kernel/process.h"
22#include "core/hle/kernel/thread.h"
23#include "core/hle/result.h" 23#include "core/hle/result.h"
24#include "core/memory.h" 24#include "core/memory.h"
25 25
diff --git a/src/core/hle/kernel/timer.cpp b/src/core/hle/kernel/timer.cpp
index 7432f3567..a9f98223c 100644
--- a/src/core/hle/kernel/timer.cpp
+++ b/src/core/hle/kernel/timer.cpp
@@ -2,13 +2,13 @@
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 "core/hle/kernel/timer.h"
6#include <cinttypes> 5#include <cinttypes>
7#include "common/assert.h" 6#include "common/assert.h"
8#include "common/logging/log.h" 7#include "common/logging/log.h"
9#include "core/core_timing.h" 8#include "core/core_timing.h"
10#include "core/hle/kernel/kernel.h" 9#include "core/hle/kernel/kernel.h"
11#include "core/hle/kernel/thread.h" 10#include "core/hle/kernel/thread.h"
11#include "core/hle/kernel/timer.h"
12 12
13namespace Kernel { 13namespace Kernel {
14 14
diff --git a/src/core/hle/kernel/vm_manager.cpp b/src/core/hle/kernel/vm_manager.cpp
index 488898641..6dd24f846 100644
--- a/src/core/hle/kernel/vm_manager.cpp
+++ b/src/core/hle/kernel/vm_manager.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 "core/hle/kernel/vm_manager.h"
6#include <iterator> 5#include <iterator>
7#include "common/assert.h" 6#include "common/assert.h"
7#include "core/hle/kernel/vm_manager.h"
8#include "core/memory.h" 8#include "core/memory.h"
9#include "core/memory_setup.h" 9#include "core/memory_setup.h"
10#include "core/mmio.h" 10#include "core/mmio.h"
diff --git a/src/core/hle/service/ac_u.cpp b/src/core/hle/service/ac_u.cpp
index 0b61bfae8..12d94f37a 100644
--- a/src/core/hle/service/ac_u.cpp
+++ b/src/core/hle/service/ac_u.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 "core/hle/service/ac_u.h"
6#include "common/logging/log.h" 5#include "common/logging/log.h"
7#include "core/hle/kernel/event.h" 6#include "core/hle/kernel/event.h"
7#include "core/hle/service/ac_u.h"
8 8
9//////////////////////////////////////////////////////////////////////////////////////////////////// 9////////////////////////////////////////////////////////////////////////////////////////////////////
10// Namespace AC_U 10// Namespace AC_U
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp
index e9adfaa1b..f7a990d69 100644
--- a/src/core/hle/service/am/am.cpp
+++ b/src/core/hle/service/am/am.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 "core/hle/service/am/am.h"
6#include <cinttypes> 5#include <cinttypes>
7#include "common/logging/log.h" 6#include "common/logging/log.h"
7#include "core/hle/service/am/am.h"
8#include "core/hle/service/am/am_app.h" 8#include "core/hle/service/am/am_app.h"
9#include "core/hle/service/am/am_net.h" 9#include "core/hle/service/am/am_net.h"
10#include "core/hle/service/am/am_sys.h" 10#include "core/hle/service/am/am_sys.h"
diff --git a/src/core/hle/service/am/am_app.cpp b/src/core/hle/service/am/am_app.cpp
index 827e60335..bfc1ca6bd 100644
--- a/src/core/hle/service/am/am_app.cpp
+++ b/src/core/hle/service/am/am_app.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 "core/hle/service/am/am_app.h"
6#include "core/hle/service/am/am.h" 5#include "core/hle/service/am/am.h"
6#include "core/hle/service/am/am_app.h"
7 7
8namespace Service { 8namespace Service {
9namespace AM { 9namespace AM {
diff --git a/src/core/hle/service/am/am_net.cpp b/src/core/hle/service/am/am_net.cpp
index d9d9d78c8..3a597a34c 100644
--- a/src/core/hle/service/am/am_net.cpp
+++ b/src/core/hle/service/am/am_net.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 "core/hle/service/am/am_net.h"
6#include "core/hle/service/am/am.h" 5#include "core/hle/service/am/am.h"
6#include "core/hle/service/am/am_net.h"
7 7
8namespace Service { 8namespace Service {
9namespace AM { 9namespace AM {
diff --git a/src/core/hle/service/am/am_sys.cpp b/src/core/hle/service/am/am_sys.cpp
index 6f441f9e7..a2268303c 100644
--- a/src/core/hle/service/am/am_sys.cpp
+++ b/src/core/hle/service/am/am_sys.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 "core/hle/service/am/am_sys.h"
6#include "core/hle/service/am/am.h" 5#include "core/hle/service/am/am.h"
6#include "core/hle/service/am/am_sys.h"
7 7
8namespace Service { 8namespace Service {
9namespace AM { 9namespace AM {
diff --git a/src/core/hle/service/am/am_u.cpp b/src/core/hle/service/am/am_u.cpp
index c40e56205..151b5e42b 100644
--- a/src/core/hle/service/am/am_u.cpp
+++ b/src/core/hle/service/am/am_u.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 "core/hle/service/am/am_u.h"
6#include "core/hle/service/am/am.h" 5#include "core/hle/service/am/am.h"
6#include "core/hle/service/am/am_u.h"
7 7
8namespace Service { 8namespace Service {
9namespace AM { 9namespace AM {
diff --git a/src/core/hle/service/apt/apt.cpp b/src/core/hle/service/apt/apt.cpp
index 6240286bb..c4bd65986 100644
--- a/src/core/hle/service/apt/apt.cpp
+++ b/src/core/hle/service/apt/apt.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 "core/hle/service/apt/apt.h"
6#include "common/common_paths.h" 5#include "common/common_paths.h"
7#include "common/file_util.h" 6#include "common/file_util.h"
8#include "common/logging/log.h" 7#include "common/logging/log.h"
@@ -11,6 +10,7 @@
11#include "core/hle/kernel/mutex.h" 10#include "core/hle/kernel/mutex.h"
12#include "core/hle/kernel/process.h" 11#include "core/hle/kernel/process.h"
13#include "core/hle/kernel/shared_memory.h" 12#include "core/hle/kernel/shared_memory.h"
13#include "core/hle/service/apt/apt.h"
14#include "core/hle/service/apt/apt_a.h" 14#include "core/hle/service/apt/apt_a.h"
15#include "core/hle/service/apt/apt_s.h" 15#include "core/hle/service/apt/apt_s.h"
16#include "core/hle/service/apt/apt_u.h" 16#include "core/hle/service/apt/apt_u.h"
diff --git a/src/core/hle/service/apt/apt_a.cpp b/src/core/hle/service/apt/apt_a.cpp
index 09198d52b..f27ad91b7 100644
--- a/src/core/hle/service/apt/apt_a.cpp
+++ b/src/core/hle/service/apt/apt_a.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 "core/hle/service/apt/apt_a.h"
6#include "core/hle/service/apt/apt.h" 5#include "core/hle/service/apt/apt.h"
6#include "core/hle/service/apt/apt_a.h"
7 7
8namespace Service { 8namespace Service {
9namespace APT { 9namespace APT {
diff --git a/src/core/hle/service/apt/apt_s.cpp b/src/core/hle/service/apt/apt_s.cpp
index f5afb78e8..c4556a5de 100644
--- a/src/core/hle/service/apt/apt_s.cpp
+++ b/src/core/hle/service/apt/apt_s.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 "core/hle/service/apt/apt_s.h"
6#include "core/hle/service/apt/apt.h" 5#include "core/hle/service/apt/apt.h"
6#include "core/hle/service/apt/apt_s.h"
7 7
8namespace Service { 8namespace Service {
9namespace APT { 9namespace APT {
diff --git a/src/core/hle/service/apt/apt_u.cpp b/src/core/hle/service/apt/apt_u.cpp
index 184534b01..d6ad42e21 100644
--- a/src/core/hle/service/apt/apt_u.cpp
+++ b/src/core/hle/service/apt/apt_u.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 "core/hle/service/apt/apt_u.h"
6#include "core/hle/service/apt/apt.h" 5#include "core/hle/service/apt/apt.h"
6#include "core/hle/service/apt/apt_u.h"
7 7
8namespace Service { 8namespace Service {
9namespace APT { 9namespace APT {
diff --git a/src/core/hle/service/cam/cam.cpp b/src/core/hle/service/cam/cam.cpp
index be2e42963..5594aedab 100644
--- a/src/core/hle/service/cam/cam.cpp
+++ b/src/core/hle/service/cam/cam.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 "core/hle/service/cam/cam.h"
6#include "common/logging/log.h" 5#include "common/logging/log.h"
7#include "core/hle/kernel/event.h" 6#include "core/hle/kernel/event.h"
7#include "core/hle/service/cam/cam.h"
8#include "core/hle/service/cam/cam_c.h" 8#include "core/hle/service/cam/cam_c.h"
9#include "core/hle/service/cam/cam_q.h" 9#include "core/hle/service/cam/cam_q.h"
10#include "core/hle/service/cam/cam_s.h" 10#include "core/hle/service/cam/cam_s.h"
diff --git a/src/core/hle/service/cam/cam_u.cpp b/src/core/hle/service/cam/cam_u.cpp
index 125aa7d1f..af2123e5b 100644
--- a/src/core/hle/service/cam/cam_u.cpp
+++ b/src/core/hle/service/cam/cam_u.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 "core/hle/service/cam/cam_u.h"
6#include "core/hle/service/cam/cam.h" 5#include "core/hle/service/cam/cam.h"
6#include "core/hle/service/cam/cam_u.h"
7 7
8namespace Service { 8namespace Service {
9namespace CAM { 9namespace CAM {
diff --git a/src/core/hle/service/cecd/cecd.cpp b/src/core/hle/service/cecd/cecd.cpp
index 4d8916bdf..515b344e6 100644
--- a/src/core/hle/service/cecd/cecd.cpp
+++ b/src/core/hle/service/cecd/cecd.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 "core/hle/service/cecd/cecd.h"
6#include "common/logging/log.h" 5#include "common/logging/log.h"
7#include "core/hle/kernel/event.h" 6#include "core/hle/kernel/event.h"
7#include "core/hle/service/cecd/cecd.h"
8#include "core/hle/service/cecd/cecd_s.h" 8#include "core/hle/service/cecd/cecd_s.h"
9#include "core/hle/service/cecd/cecd_u.h" 9#include "core/hle/service/cecd/cecd_u.h"
10#include "core/hle/service/service.h" 10#include "core/hle/service/service.h"
diff --git a/src/core/hle/service/cecd/cecd_u.cpp b/src/core/hle/service/cecd/cecd_u.cpp
index f220bba12..4b747de7b 100644
--- a/src/core/hle/service/cecd/cecd_u.cpp
+++ b/src/core/hle/service/cecd/cecd_u.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 "core/hle/service/cecd/cecd_u.h"
6#include "core/hle/service/cecd/cecd.h" 5#include "core/hle/service/cecd/cecd.h"
6#include "core/hle/service/cecd/cecd_u.h"
7 7
8namespace Service { 8namespace Service {
9namespace CECD { 9namespace CECD {
diff --git a/src/core/hle/service/cfg/cfg.cpp b/src/core/hle/service/cfg/cfg.cpp
index 1f706751f..24eee6903 100644
--- a/src/core/hle/service/cfg/cfg.cpp
+++ b/src/core/hle/service/cfg/cfg.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 "core/hle/service/cfg/cfg.h"
6#include <algorithm> 5#include <algorithm>
7#include "common/file_util.h" 6#include "common/file_util.h"
8#include "common/logging/log.h" 7#include "common/logging/log.h"
@@ -11,6 +10,7 @@
11#include "core/file_sys/archive_systemsavedata.h" 10#include "core/file_sys/archive_systemsavedata.h"
12#include "core/file_sys/file_backend.h" 11#include "core/file_sys/file_backend.h"
13#include "core/hle/result.h" 12#include "core/hle/result.h"
13#include "core/hle/service/cfg/cfg.h"
14#include "core/hle/service/cfg/cfg_i.h" 14#include "core/hle/service/cfg/cfg_i.h"
15#include "core/hle/service/cfg/cfg_s.h" 15#include "core/hle/service/cfg/cfg_s.h"
16#include "core/hle/service/cfg/cfg_u.h" 16#include "core/hle/service/cfg/cfg_u.h"
diff --git a/src/core/hle/service/cfg/cfg_i.cpp b/src/core/hle/service/cfg/cfg_i.cpp
index ed0217e53..2ff52c8b8 100644
--- a/src/core/hle/service/cfg/cfg_i.cpp
+++ b/src/core/hle/service/cfg/cfg_i.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 "core/hle/service/cfg/cfg_i.h"
6#include "core/hle/service/cfg/cfg.h" 5#include "core/hle/service/cfg/cfg.h"
6#include "core/hle/service/cfg/cfg_i.h"
7 7
8namespace Service { 8namespace Service {
9namespace CFG { 9namespace CFG {
diff --git a/src/core/hle/service/cfg/cfg_s.cpp b/src/core/hle/service/cfg/cfg_s.cpp
index 51e7b9752..eed26dec7 100644
--- a/src/core/hle/service/cfg/cfg_s.cpp
+++ b/src/core/hle/service/cfg/cfg_s.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 "core/hle/service/cfg/cfg_s.h"
6#include "core/hle/service/cfg/cfg.h" 5#include "core/hle/service/cfg/cfg.h"
6#include "core/hle/service/cfg/cfg_s.h"
7 7
8namespace Service { 8namespace Service {
9namespace CFG { 9namespace CFG {
diff --git a/src/core/hle/service/cfg/cfg_u.cpp b/src/core/hle/service/cfg/cfg_u.cpp
index 3f812291b..f28217134 100644
--- a/src/core/hle/service/cfg/cfg_u.cpp
+++ b/src/core/hle/service/cfg/cfg_u.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 "core/hle/service/cfg/cfg_u.h"
6#include "core/hle/service/cfg/cfg.h" 5#include "core/hle/service/cfg/cfg.h"
6#include "core/hle/service/cfg/cfg_u.h"
7 7
8namespace Service { 8namespace Service {
9namespace CFG { 9namespace CFG {
diff --git a/src/core/hle/service/csnd_snd.cpp b/src/core/hle/service/csnd_snd.cpp
index e777ea9d6..20c759ad7 100644
--- a/src/core/hle/service/csnd_snd.cpp
+++ b/src/core/hle/service/csnd_snd.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 "core/hle/service/csnd_snd.h"
6#include <cstring> 5#include <cstring>
7#include "common/alignment.h" 6#include "common/alignment.h"
8#include "core/hle/hle.h" 7#include "core/hle/hle.h"
9#include "core/hle/kernel/mutex.h" 8#include "core/hle/kernel/mutex.h"
10#include "core/hle/kernel/shared_memory.h" 9#include "core/hle/kernel/shared_memory.h"
10#include "core/hle/service/csnd_snd.h"
11 11
12//////////////////////////////////////////////////////////////////////////////////////////////////// 12////////////////////////////////////////////////////////////////////////////////////////////////////
13// Namespace CSND_SND 13// Namespace CSND_SND
diff --git a/src/core/hle/service/dlp/dlp_srvr.cpp b/src/core/hle/service/dlp/dlp_srvr.cpp
index 113f6a79f..49d5b8d1c 100644
--- a/src/core/hle/service/dlp/dlp_srvr.cpp
+++ b/src/core/hle/service/dlp/dlp_srvr.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 "core/hle/service/dlp/dlp_srvr.h"
6#include "common/common_types.h" 5#include "common/common_types.h"
7#include "common/logging/log.h" 6#include "common/logging/log.h"
8#include "core/hle/result.h" 7#include "core/hle/result.h"
8#include "core/hle/service/dlp/dlp_srvr.h"
9 9
10namespace Service { 10namespace Service {
11namespace DLP { 11namespace DLP {
diff --git a/src/core/hle/service/dsp_dsp.cpp b/src/core/hle/service/dsp_dsp.cpp
index 3f2f09f60..a15aa3696 100644
--- a/src/core/hle/service/dsp_dsp.cpp
+++ b/src/core/hle/service/dsp_dsp.cpp
@@ -2,13 +2,13 @@
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 "core/hle/service/dsp_dsp.h"
6#include <algorithm> 5#include <algorithm>
7#include <cinttypes> 6#include <cinttypes>
8#include "audio_core/hle/pipe.h" 7#include "audio_core/hle/pipe.h"
9#include "common/hash.h" 8#include "common/hash.h"
10#include "common/logging/log.h" 9#include "common/logging/log.h"
11#include "core/hle/kernel/event.h" 10#include "core/hle/kernel/event.h"
11#include "core/hle/service/dsp_dsp.h"
12 12
13using DspPipe = DSP::HLE::DspPipe; 13using DspPipe = DSP::HLE::DspPipe;
14 14
diff --git a/src/core/hle/service/err_f.cpp b/src/core/hle/service/err_f.cpp
index ff606d883..3ca4f98de 100644
--- a/src/core/hle/service/err_f.cpp
+++ b/src/core/hle/service/err_f.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 "core/hle/service/err_f.h"
6#include "common/bit_field.h" 5#include "common/bit_field.h"
7#include "common/common_types.h" 6#include "common/common_types.h"
8#include "common/logging/log.h" 7#include "common/logging/log.h"
8#include "core/hle/service/err_f.h"
9 9
10//////////////////////////////////////////////////////////////////////////////////////////////////// 10////////////////////////////////////////////////////////////////////////////////////////////////////
11// Namespace ERR_F 11// Namespace ERR_F
diff --git a/src/core/hle/service/frd/frd.cpp b/src/core/hle/service/frd/frd.cpp
index bd89b522b..fa5080535 100644
--- a/src/core/hle/service/frd/frd.cpp
+++ b/src/core/hle/service/frd/frd.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 "core/hle/service/frd/frd.h"
6#include "common/string_util.h" 5#include "common/string_util.h"
6#include "core/hle/service/frd/frd.h"
7#include "core/hle/service/frd/frd_a.h" 7#include "core/hle/service/frd/frd_a.h"
8#include "core/hle/service/frd/frd_u.h" 8#include "core/hle/service/frd/frd_u.h"
9#include "core/hle/service/service.h" 9#include "core/hle/service/service.h"
diff --git a/src/core/hle/service/frd/frd_u.cpp b/src/core/hle/service/frd/frd_u.cpp
index 92b53f2ef..bd1c9c16b 100644
--- a/src/core/hle/service/frd/frd_u.cpp
+++ b/src/core/hle/service/frd/frd_u.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 "core/hle/service/frd/frd_u.h"
6#include "core/hle/service/frd/frd.h" 5#include "core/hle/service/frd/frd.h"
6#include "core/hle/service/frd/frd_u.h"
7 7
8namespace Service { 8namespace Service {
9namespace FRD { 9namespace FRD {
diff --git a/src/core/hle/service/fs/archive.cpp b/src/core/hle/service/fs/archive.cpp
index b945b255e..4dc7e1e3c 100644
--- a/src/core/hle/service/fs/archive.cpp
+++ b/src/core/hle/service/fs/archive.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 "core/hle/service/fs/archive.h"
6#include <cstddef> 5#include <cstddef>
7#include <memory> 6#include <memory>
8#include <system_error> 7#include <system_error>
@@ -24,6 +23,7 @@
24#include "core/file_sys/file_backend.h" 23#include "core/file_sys/file_backend.h"
25#include "core/hle/hle.h" 24#include "core/hle/hle.h"
26#include "core/hle/result.h" 25#include "core/hle/result.h"
26#include "core/hle/service/fs/archive.h"
27#include "core/hle/service/fs/fs_user.h" 27#include "core/hle/service/fs/fs_user.h"
28#include "core/hle/service/service.h" 28#include "core/hle/service/service.h"
29#include "core/memory.h" 29#include "core/memory.h"
diff --git a/src/core/hle/service/fs/fs_user.cpp b/src/core/hle/service/fs/fs_user.cpp
index 92578270b..94f053dc2 100644
--- a/src/core/hle/service/fs/fs_user.cpp
+++ b/src/core/hle/service/fs/fs_user.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 "core/hle/service/fs/fs_user.h"
6#include "common/assert.h" 5#include "common/assert.h"
7#include "common/common_types.h" 6#include "common/common_types.h"
8#include "common/file_util.h" 7#include "common/file_util.h"
@@ -11,6 +10,7 @@
11#include "common/string_util.h" 10#include "common/string_util.h"
12#include "core/hle/result.h" 11#include "core/hle/result.h"
13#include "core/hle/service/fs/archive.h" 12#include "core/hle/service/fs/archive.h"
13#include "core/hle/service/fs/fs_user.h"
14#include "core/settings.h" 14#include "core/settings.h"
15 15
16//////////////////////////////////////////////////////////////////////////////////////////////////// 16////////////////////////////////////////////////////////////////////////////////////////////////////
diff --git a/src/core/hle/service/gsp_gpu.cpp b/src/core/hle/service/gsp_gpu.cpp
index ba148eaf1..710e0e485 100644
--- a/src/core/hle/service/gsp_gpu.cpp
+++ b/src/core/hle/service/gsp_gpu.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 "gsp_gpu.h"
6#include "common/bit_field.h" 5#include "common/bit_field.h"
7#include "common/microprofile.h" 6#include "common/microprofile.h"
8#include "core/hle/kernel/event.h" 7#include "core/hle/kernel/event.h"
@@ -12,6 +11,7 @@
12#include "core/hw/hw.h" 11#include "core/hw/hw.h"
13#include "core/hw/lcd.h" 12#include "core/hw/lcd.h"
14#include "core/memory.h" 13#include "core/memory.h"
14#include "gsp_gpu.h"
15#include "video_core/debug_utils/debug_utils.h" 15#include "video_core/debug_utils/debug_utils.h"
16#include "video_core/gpu_debugger.h" 16#include "video_core/gpu_debugger.h"
17 17
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp
index a050e81f7..99baded11 100644
--- a/src/core/hle/service/hid/hid.cpp
+++ b/src/core/hle/service/hid/hid.cpp
@@ -2,13 +2,13 @@
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 "core/hle/service/hid/hid.h"
6#include <cmath> 5#include <cmath>
7#include "common/emu_window.h" 6#include "common/emu_window.h"
8#include "common/logging/log.h" 7#include "common/logging/log.h"
9#include "core/core_timing.h" 8#include "core/core_timing.h"
10#include "core/hle/kernel/event.h" 9#include "core/hle/kernel/event.h"
11#include "core/hle/kernel/shared_memory.h" 10#include "core/hle/kernel/shared_memory.h"
11#include "core/hle/service/hid/hid.h"
12#include "core/hle/service/hid/hid_spvr.h" 12#include "core/hle/service/hid/hid_spvr.h"
13#include "core/hle/service/hid/hid_user.h" 13#include "core/hle/service/hid/hid_user.h"
14#include "core/hle/service/service.h" 14#include "core/hle/service/service.h"
diff --git a/src/core/hle/service/hid/hid_spvr.cpp b/src/core/hle/service/hid/hid_spvr.cpp
index 00a0902c8..09007e304 100644
--- a/src/core/hle/service/hid/hid_spvr.cpp
+++ b/src/core/hle/service/hid/hid_spvr.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 "core/hle/service/hid/hid_spvr.h"
6#include "core/hle/service/hid/hid.h" 5#include "core/hle/service/hid/hid.h"
6#include "core/hle/service/hid/hid_spvr.h"
7 7
8namespace Service { 8namespace Service {
9namespace HID { 9namespace HID {
diff --git a/src/core/hle/service/hid/hid_user.cpp b/src/core/hle/service/hid/hid_user.cpp
index 433e175bb..42591543c 100644
--- a/src/core/hle/service/hid/hid_user.cpp
+++ b/src/core/hle/service/hid/hid_user.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 "core/hle/service/hid/hid_user.h"
6#include "core/hle/service/hid/hid.h" 5#include "core/hle/service/hid/hid.h"
6#include "core/hle/service/hid/hid_user.h"
7 7
8namespace Service { 8namespace Service {
9namespace HID { 9namespace HID {
diff --git a/src/core/hle/service/ir/ir.cpp b/src/core/hle/service/ir/ir.cpp
index 459fe0691..4d6639ded 100644
--- a/src/core/hle/service/ir/ir.cpp
+++ b/src/core/hle/service/ir/ir.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 "core/hle/service/ir/ir.h"
6#include "core/hle/kernel/event.h" 5#include "core/hle/kernel/event.h"
7#include "core/hle/kernel/shared_memory.h" 6#include "core/hle/kernel/shared_memory.h"
7#include "core/hle/service/ir/ir.h"
8#include "core/hle/service/ir/ir_rst.h" 8#include "core/hle/service/ir/ir_rst.h"
9#include "core/hle/service/ir/ir_u.h" 9#include "core/hle/service/ir/ir_u.h"
10#include "core/hle/service/ir/ir_user.h" 10#include "core/hle/service/ir/ir_user.h"
diff --git a/src/core/hle/service/ir/ir_rst.cpp b/src/core/hle/service/ir/ir_rst.cpp
index 5e7a011ff..1f10ebd3d 100644
--- a/src/core/hle/service/ir/ir_rst.cpp
+++ b/src/core/hle/service/ir/ir_rst.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 "core/hle/service/ir/ir_rst.h"
6#include "core/hle/service/ir/ir.h" 5#include "core/hle/service/ir/ir.h"
6#include "core/hle/service/ir/ir_rst.h"
7 7
8namespace Service { 8namespace Service {
9namespace IR { 9namespace IR {
diff --git a/src/core/hle/service/ir/ir_user.cpp b/src/core/hle/service/ir/ir_user.cpp
index cca71a0dd..6cff1d544 100644
--- a/src/core/hle/service/ir/ir_user.cpp
+++ b/src/core/hle/service/ir/ir_user.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 "core/hle/service/ir/ir_user.h"
6#include "core/hle/service/ir/ir.h" 5#include "core/hle/service/ir/ir.h"
6#include "core/hle/service/ir/ir_user.h"
7 7
8namespace Service { 8namespace Service {
9namespace IR { 9namespace IR {
diff --git a/src/core/hle/service/ldr_ro/cro_helper.cpp b/src/core/hle/service/ldr_ro/cro_helper.cpp
index f583f5c31..b7d250312 100644
--- a/src/core/hle/service/ldr_ro/cro_helper.cpp
+++ b/src/core/hle/service/ldr_ro/cro_helper.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 "core/hle/service/ldr_ro/cro_helper.h"
6#include "common/alignment.h" 5#include "common/alignment.h"
7#include "common/logging/log.h" 6#include "common/logging/log.h"
8#include "common/scope_exit.h" 7#include "common/scope_exit.h"
8#include "core/hle/service/ldr_ro/cro_helper.h"
9 9
10//////////////////////////////////////////////////////////////////////////////////////////////////// 10////////////////////////////////////////////////////////////////////////////////////////////////////
11// Namespace LDR_RO 11// Namespace LDR_RO
diff --git a/src/core/hle/service/ldr_ro/ldr_ro.cpp b/src/core/hle/service/ldr_ro/ldr_ro.cpp
index 3faa2e5d7..ec183d1f5 100644
--- a/src/core/hle/service/ldr_ro/ldr_ro.cpp
+++ b/src/core/hle/service/ldr_ro/ldr_ro.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 "core/hle/service/ldr_ro/ldr_ro.h"
6#include "common/alignment.h" 5#include "common/alignment.h"
7#include "common/common_types.h" 6#include "common/common_types.h"
8#include "common/logging/log.h" 7#include "common/logging/log.h"
@@ -10,6 +9,7 @@
10#include "core/hle/kernel/process.h" 9#include "core/hle/kernel/process.h"
11#include "core/hle/kernel/vm_manager.h" 10#include "core/hle/kernel/vm_manager.h"
12#include "core/hle/service/ldr_ro/cro_helper.h" 11#include "core/hle/service/ldr_ro/cro_helper.h"
12#include "core/hle/service/ldr_ro/ldr_ro.h"
13#include "core/hle/service/ldr_ro/memory_synchronizer.h" 13#include "core/hle/service/ldr_ro/memory_synchronizer.h"
14 14
15//////////////////////////////////////////////////////////////////////////////////////////////////// 15////////////////////////////////////////////////////////////////////////////////////////////////////
diff --git a/src/core/hle/service/ldr_ro/memory_synchronizer.cpp b/src/core/hle/service/ldr_ro/memory_synchronizer.cpp
index a3e590dfd..989887264 100644
--- a/src/core/hle/service/ldr_ro/memory_synchronizer.cpp
+++ b/src/core/hle/service/ldr_ro/memory_synchronizer.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 "core/hle/service/ldr_ro/memory_synchronizer.h"
6#include <algorithm> 5#include <algorithm>
7#include "common/assert.h" 6#include "common/assert.h"
7#include "core/hle/service/ldr_ro/memory_synchronizer.h"
8 8
9//////////////////////////////////////////////////////////////////////////////////////////////////// 9////////////////////////////////////////////////////////////////////////////////////////////////////
10// Namespace LDR_RO 10// Namespace LDR_RO
diff --git a/src/core/hle/service/ndm/ndm.cpp b/src/core/hle/service/ndm/ndm.cpp
index fcfa4b336..5eb97f0d3 100644
--- a/src/core/hle/service/ndm/ndm.cpp
+++ b/src/core/hle/service/ndm/ndm.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 "core/hle/service/ndm/ndm.h"
6#include "common/common_types.h" 5#include "common/common_types.h"
7#include "common/logging/log.h" 6#include "common/logging/log.h"
7#include "core/hle/service/ndm/ndm.h"
8#include "core/hle/service/ndm/ndm_u.h" 8#include "core/hle/service/ndm/ndm_u.h"
9#include "core/hle/service/service.h" 9#include "core/hle/service/service.h"
10 10
diff --git a/src/core/hle/service/ndm/ndm_u.cpp b/src/core/hle/service/ndm/ndm_u.cpp
index 4fc93850d..f5c7a341a 100644
--- a/src/core/hle/service/ndm/ndm_u.cpp
+++ b/src/core/hle/service/ndm/ndm_u.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 "core/hle/service/ndm/ndm_u.h"
6#include "core/hle/service/ndm/ndm.h" 5#include "core/hle/service/ndm/ndm.h"
6#include "core/hle/service/ndm/ndm_u.h"
7 7
8namespace Service { 8namespace Service {
9namespace NDM { 9namespace NDM {
diff --git a/src/core/hle/service/news/news.cpp b/src/core/hle/service/news/news.cpp
index f22c49f52..8b70ec45b 100644
--- a/src/core/hle/service/news/news.cpp
+++ b/src/core/hle/service/news/news.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 "core/hle/service/news/news.h"
6#include "common/logging/log.h" 5#include "common/logging/log.h"
6#include "core/hle/service/news/news.h"
7#include "core/hle/service/news/news_s.h" 7#include "core/hle/service/news/news_s.h"
8#include "core/hle/service/news/news_u.h" 8#include "core/hle/service/news/news_u.h"
9#include "core/hle/service/service.h" 9#include "core/hle/service/service.h"
diff --git a/src/core/hle/service/news/news_s.cpp b/src/core/hle/service/news/news_s.cpp
index 0e4b650f3..dda3d0f6a 100644
--- a/src/core/hle/service/news/news_s.cpp
+++ b/src/core/hle/service/news/news_s.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 "core/hle/service/news/news_s.h"
6#include "core/hle/service/news/news.h" 5#include "core/hle/service/news/news.h"
6#include "core/hle/service/news/news_s.h"
7 7
8namespace Service { 8namespace Service {
9namespace NEWS { 9namespace NEWS {
diff --git a/src/core/hle/service/nim/nim.cpp b/src/core/hle/service/nim/nim.cpp
index 60505545c..0be94322c 100644
--- a/src/core/hle/service/nim/nim.cpp
+++ b/src/core/hle/service/nim/nim.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 "core/hle/service/nim/nim.h"
6#include "common/common_types.h" 5#include "common/common_types.h"
7#include "common/logging/log.h" 6#include "common/logging/log.h"
7#include "core/hle/service/nim/nim.h"
8#include "core/hle/service/nim/nim_aoc.h" 8#include "core/hle/service/nim/nim_aoc.h"
9#include "core/hle/service/nim/nim_s.h" 9#include "core/hle/service/nim/nim_s.h"
10#include "core/hle/service/nim/nim_u.h" 10#include "core/hle/service/nim/nim_u.h"
diff --git a/src/core/hle/service/nim/nim_u.cpp b/src/core/hle/service/nim/nim_u.cpp
index a4fd9781f..7e07d02e8 100644
--- a/src/core/hle/service/nim/nim_u.cpp
+++ b/src/core/hle/service/nim/nim_u.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 "core/hle/service/nim/nim_u.h"
6#include "core/hle/service/nim/nim.h" 5#include "core/hle/service/nim/nim.h"
6#include "core/hle/service/nim/nim_u.h"
7 7
8namespace Service { 8namespace Service {
9namespace NIM { 9namespace NIM {
diff --git a/src/core/hle/service/nwm_uds.cpp b/src/core/hle/service/nwm_uds.cpp
index 3b608dcbb..27e829209 100644
--- a/src/core/hle/service/nwm_uds.cpp
+++ b/src/core/hle/service/nwm_uds.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 "core/hle/service/nwm_uds.h"
6#include "common/common_types.h" 5#include "common/common_types.h"
7#include "common/logging/log.h" 6#include "common/logging/log.h"
8#include "core/hle/kernel/event.h" 7#include "core/hle/kernel/event.h"
8#include "core/hle/service/nwm_uds.h"
9 9
10//////////////////////////////////////////////////////////////////////////////////////////////////// 10////////////////////////////////////////////////////////////////////////////////////////////////////
11// Namespace NWM_UDS 11// Namespace NWM_UDS
diff --git a/src/core/hle/service/ptm/ptm.cpp b/src/core/hle/service/ptm/ptm.cpp
index 29b9071c8..6e6b63329 100644
--- a/src/core/hle/service/ptm/ptm.cpp
+++ b/src/core/hle/service/ptm/ptm.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 "core/hle/service/ptm/ptm.h"
6#include "common/logging/log.h" 5#include "common/logging/log.h"
7#include "core/file_sys/file_backend.h" 6#include "core/file_sys/file_backend.h"
8#include "core/hle/service/fs/archive.h" 7#include "core/hle/service/fs/archive.h"
8#include "core/hle/service/ptm/ptm.h"
9#include "core/hle/service/ptm/ptm_play.h" 9#include "core/hle/service/ptm/ptm_play.h"
10#include "core/hle/service/ptm/ptm_sysm.h" 10#include "core/hle/service/ptm/ptm_sysm.h"
11#include "core/hle/service/ptm/ptm_u.h" 11#include "core/hle/service/ptm/ptm_u.h"
diff --git a/src/core/hle/service/ptm/ptm_sysm.cpp b/src/core/hle/service/ptm/ptm_sysm.cpp
index 590660f60..693158dbf 100644
--- a/src/core/hle/service/ptm/ptm_sysm.cpp
+++ b/src/core/hle/service/ptm/ptm_sysm.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 "core/hle/service/ptm/ptm_sysm.h"
6#include "core/hle/service/ptm/ptm.h" 5#include "core/hle/service/ptm/ptm.h"
6#include "core/hle/service/ptm/ptm_sysm.h"
7 7
8namespace Service { 8namespace Service {
9namespace PTM { 9namespace PTM {
diff --git a/src/core/hle/service/ptm/ptm_u.cpp b/src/core/hle/service/ptm/ptm_u.cpp
index 155e10df1..65e868393 100644
--- a/src/core/hle/service/ptm/ptm_u.cpp
+++ b/src/core/hle/service/ptm/ptm_u.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 "core/hle/service/ptm/ptm_u.h"
6#include "core/hle/service/ptm/ptm.h" 5#include "core/hle/service/ptm/ptm.h"
6#include "core/hle/service/ptm/ptm_u.h"
7 7
8namespace Service { 8namespace Service {
9namespace PTM { 9namespace PTM {
diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp
index eff51af04..ca7eeac8a 100644
--- a/src/core/hle/service/service.cpp
+++ b/src/core/hle/service/service.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 "core/hle/service/service.h"
6#include "common/logging/log.h" 5#include "common/logging/log.h"
7#include "common/string_util.h" 6#include "common/string_util.h"
8#include "core/hle/service/ac_u.h" 7#include "core/hle/service/ac_u.h"
@@ -34,6 +33,7 @@
34#include "core/hle/service/nwm_uds.h" 33#include "core/hle/service/nwm_uds.h"
35#include "core/hle/service/pm_app.h" 34#include "core/hle/service/pm_app.h"
36#include "core/hle/service/ptm/ptm.h" 35#include "core/hle/service/ptm/ptm.h"
36#include "core/hle/service/service.h"
37#include "core/hle/service/soc_u.h" 37#include "core/hle/service/soc_u.h"
38#include "core/hle/service/srv.h" 38#include "core/hle/service/srv.h"
39#include "core/hle/service/ssl_c.h" 39#include "core/hle/service/ssl_c.h"
diff --git a/src/core/hle/service/soc_u.cpp b/src/core/hle/service/soc_u.cpp
index 1eab61e52..4279b67fb 100644
--- a/src/core/hle/service/soc_u.cpp
+++ b/src/core/hle/service/soc_u.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 "core/hle/service/soc_u.h"
6#include <algorithm> 5#include <algorithm>
7#include <cstring> 6#include <cstring>
8#include <unordered_map> 7#include <unordered_map>
@@ -14,6 +13,7 @@
14#include "common/scope_exit.h" 13#include "common/scope_exit.h"
15#include "core/hle/kernel/session.h" 14#include "core/hle/kernel/session.h"
16#include "core/hle/result.h" 15#include "core/hle/result.h"
16#include "core/hle/service/soc_u.h"
17#include "core/memory.h" 17#include "core/memory.h"
18 18
19#ifdef _WIN32 19#ifdef _WIN32
diff --git a/src/core/hle/service/srv.cpp b/src/core/hle/service/srv.cpp
index 241a5da94..b25be413a 100644
--- a/src/core/hle/service/srv.cpp
+++ b/src/core/hle/service/srv.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 "core/hle/service/srv.h"
6#include "common/common_types.h" 5#include "common/common_types.h"
7#include "common/logging/log.h" 6#include "common/logging/log.h"
8#include "core/hle/kernel/event.h" 7#include "core/hle/kernel/event.h"
8#include "core/hle/service/srv.h"
9 9
10//////////////////////////////////////////////////////////////////////////////////////////////////// 10////////////////////////////////////////////////////////////////////////////////////////////////////
11// Namespace SRV 11// Namespace SRV
diff --git a/src/core/hle/service/ssl_c.cpp b/src/core/hle/service/ssl_c.cpp
index 16ec3d116..abab1d271 100644
--- a/src/core/hle/service/ssl_c.cpp
+++ b/src/core/hle/service/ssl_c.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 "core/hle/service/ssl_c.h"
6#include <random> 5#include <random>
7#include "common/common_types.h" 6#include "common/common_types.h"
7#include "core/hle/service/ssl_c.h"
8 8
9//////////////////////////////////////////////////////////////////////////////////////////////////// 9////////////////////////////////////////////////////////////////////////////////////////////////////
10// Namespace SSL_C 10// Namespace SSL_C
diff --git a/src/core/hle/service/y2r_u.cpp b/src/core/hle/service/y2r_u.cpp
index 38e15b5d0..097e09d28 100644
--- a/src/core/hle/service/y2r_u.cpp
+++ b/src/core/hle/service/y2r_u.cpp
@@ -2,13 +2,13 @@
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 "core/hle/service/y2r_u.h"
6#include <cstring> 5#include <cstring>
7#include "common/common_funcs.h" 6#include "common/common_funcs.h"
8#include "common/common_types.h" 7#include "common/common_types.h"
9#include "common/logging/log.h" 8#include "common/logging/log.h"
10#include "core/hle/kernel/event.h" 9#include "core/hle/kernel/event.h"
11#include "core/hle/kernel/kernel.h" 10#include "core/hle/kernel/kernel.h"
11#include "core/hle/service/y2r_u.h"
12#include "core/hw/y2r.h" 12#include "core/hw/y2r.h"
13 13
14//////////////////////////////////////////////////////////////////////////////////////////////////// 14////////////////////////////////////////////////////////////////////////////////////////////////////
diff --git a/src/core/hle/shared_page.cpp b/src/core/hle/shared_page.cpp
index 74a9031c5..d0d92487d 100644
--- a/src/core/hle/shared_page.cpp
+++ b/src/core/hle/shared_page.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 "core/hle/shared_page.h"
6#include <chrono> 5#include <chrono>
7#include <cstring> 6#include <cstring>
8#include <ctime> 7#include <ctime>
9#include "core/core_timing.h" 8#include "core/core_timing.h"
9#include "core/hle/shared_page.h"
10 10
11//////////////////////////////////////////////////////////////////////////////////////////////////// 11////////////////////////////////////////////////////////////////////////////////////////////////////
12 12
diff --git a/src/core/hw/gpu.cpp b/src/core/hw/gpu.cpp
index 776c8fef7..0e6b91e3a 100644
--- a/src/core/hw/gpu.cpp
+++ b/src/core/hw/gpu.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 "core/hw/gpu.h"
6#include <cstring> 5#include <cstring>
7#include <numeric> 6#include <numeric>
8#include <type_traits> 7#include <type_traits>
@@ -14,6 +13,7 @@
14#include "core/core_timing.h" 13#include "core/core_timing.h"
15#include "core/hle/service/gsp_gpu.h" 14#include "core/hle/service/gsp_gpu.h"
16#include "core/hle/service/hid/hid.h" 15#include "core/hle/service/hid/hid.h"
16#include "core/hw/gpu.h"
17#include "core/hw/hw.h" 17#include "core/hw/hw.h"
18#include "core/memory.h" 18#include "core/memory.h"
19#include "core/settings.h" 19#include "core/settings.h"
diff --git a/src/core/hw/hw.cpp b/src/core/hw/hw.cpp
index 0f84d5adb..9ff8825b2 100644
--- a/src/core/hw/hw.cpp
+++ b/src/core/hw/hw.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 "core/hw/hw.h"
6#include "common/common_types.h" 5#include "common/common_types.h"
7#include "common/logging/log.h" 6#include "common/logging/log.h"
8#include "core/hw/gpu.h" 7#include "core/hw/gpu.h"
8#include "core/hw/hw.h"
9#include "core/hw/lcd.h" 9#include "core/hw/lcd.h"
10 10
11namespace HW { 11namespace HW {
diff --git a/src/core/hw/lcd.cpp b/src/core/hw/lcd.cpp
index 5231e4cc5..2aa89de18 100644
--- a/src/core/hw/lcd.cpp
+++ b/src/core/hw/lcd.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 "core/hw/lcd.h"
6#include <cstring> 5#include <cstring>
7#include "common/common_types.h" 6#include "common/common_types.h"
8#include "common/logging/log.h" 7#include "common/logging/log.h"
9#include "core/hw/hw.h" 8#include "core/hw/hw.h"
9#include "core/hw/lcd.h"
10#include "core/tracer/recorder.h" 10#include "core/tracer/recorder.h"
11#include "video_core/debug_utils/debug_utils.h" 11#include "video_core/debug_utils/debug_utils.h"
12 12
diff --git a/src/core/hw/y2r.cpp b/src/core/hw/y2r.cpp
index 0e13420d7..6a6c707a2 100644
--- a/src/core/hw/y2r.cpp
+++ b/src/core/hw/y2r.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 "core/hw/y2r.h"
6#include <algorithm> 5#include <algorithm>
7#include <array> 6#include <array>
8#include <cstddef> 7#include <cstddef>
@@ -13,6 +12,7 @@
13#include "common/math_util.h" 12#include "common/math_util.h"
14#include "common/vector_math.h" 13#include "common/vector_math.h"
15#include "core/hle/service/y2r_u.h" 14#include "core/hle/service/y2r_u.h"
15#include "core/hw/y2r.h"
16#include "core/memory.h" 16#include "core/memory.h"
17 17
18namespace HW { 18namespace HW {
diff --git a/src/core/loader/3dsx.cpp b/src/core/loader/3dsx.cpp
index 212772c5d..1c10740a0 100644
--- a/src/core/loader/3dsx.cpp
+++ b/src/core/loader/3dsx.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 "core/loader/3dsx.h"
6#include <algorithm> 5#include <algorithm>
7#include <vector> 6#include <vector>
8#include "common/logging/log.h" 7#include "common/logging/log.h"
@@ -10,6 +9,7 @@
10#include "core/hle/kernel/process.h" 9#include "core/hle/kernel/process.h"
11#include "core/hle/kernel/resource_limit.h" 10#include "core/hle/kernel/resource_limit.h"
12#include "core/hle/service/fs/archive.h" 11#include "core/hle/service/fs/archive.h"
12#include "core/loader/3dsx.h"
13#include "core/memory.h" 13#include "core/memory.h"
14 14
15namespace Loader { 15namespace Loader {
diff --git a/src/core/loader/elf.cpp b/src/core/loader/elf.cpp
index 0f4148a59..8eb5200ab 100644
--- a/src/core/loader/elf.cpp
+++ b/src/core/loader/elf.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 "core/loader/elf.h"
6#include <cstring> 5#include <cstring>
7#include <memory> 6#include <memory>
8#include <string> 7#include <string>
@@ -12,6 +11,7 @@
12#include "common/symbols.h" 11#include "common/symbols.h"
13#include "core/hle/kernel/process.h" 12#include "core/hle/kernel/process.h"
14#include "core/hle/kernel/resource_limit.h" 13#include "core/hle/kernel/resource_limit.h"
14#include "core/loader/elf.h"
15#include "core/memory.h" 15#include "core/memory.h"
16 16
17using Kernel::SharedPtr; 17using Kernel::SharedPtr;
diff --git a/src/core/loader/ncch.cpp b/src/core/loader/ncch.cpp
index 64c8fef07..2e4510857 100644
--- a/src/core/loader/ncch.cpp
+++ b/src/core/loader/ncch.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 "core/loader/ncch.h"
6#include <algorithm> 5#include <algorithm>
7#include <cstring> 6#include <cstring>
8#include <memory> 7#include <memory>
@@ -13,6 +12,7 @@
13#include "core/hle/kernel/process.h" 12#include "core/hle/kernel/process.h"
14#include "core/hle/kernel/resource_limit.h" 13#include "core/hle/kernel/resource_limit.h"
15#include "core/hle/service/fs/archive.h" 14#include "core/hle/service/fs/archive.h"
15#include "core/loader/ncch.h"
16#include "core/memory.h" 16#include "core/memory.h"
17 17
18//////////////////////////////////////////////////////////////////////////////////////////////////// 18////////////////////////////////////////////////////////////////////////////////////////////////////
diff --git a/src/core/loader/smdh.cpp b/src/core/loader/smdh.cpp
index 7c875131f..ccbeb7961 100644
--- a/src/core/loader/smdh.cpp
+++ b/src/core/loader/smdh.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 "core/loader/smdh.h"
6#include <cstring> 5#include <cstring>
7#include <vector> 6#include <vector>
8#include "common/common_types.h" 7#include "common/common_types.h"
9#include "core/loader/loader.h" 8#include "core/loader/loader.h"
9#include "core/loader/smdh.h"
10#include "video_core/utils.h" 10#include "video_core/utils.h"
11 11
12namespace Loader { 12namespace Loader {
diff --git a/src/core/memory.cpp b/src/core/memory.cpp
index c702fa311..df029d655 100644
--- a/src/core/memory.cpp
+++ b/src/core/memory.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 "core/memory.h"
6#include <array> 5#include <array>
7#include <cstring> 6#include <cstring>
8#include "common/assert.h" 7#include "common/assert.h"
@@ -10,6 +9,7 @@
10#include "common/logging/log.h" 9#include "common/logging/log.h"
11#include "common/swap.h" 10#include "common/swap.h"
12#include "core/hle/kernel/process.h" 11#include "core/hle/kernel/process.h"
12#include "core/memory.h"
13#include "core/memory_setup.h" 13#include "core/memory_setup.h"
14#include "core/mmio.h" 14#include "core/mmio.h"
15#include "video_core/renderer_base.h" 15#include "video_core/renderer_base.h"
diff --git a/src/core/settings.cpp b/src/core/settings.cpp
index f2d1b5e74..4a0969b00 100644
--- a/src/core/settings.cpp
+++ b/src/core/settings.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 "settings.h"
6#include "audio_core/audio_core.h" 5#include "audio_core/audio_core.h"
7#include "core/gdbstub/gdbstub.h" 6#include "core/gdbstub/gdbstub.h"
7#include "settings.h"
8#include "video_core/video_core.h" 8#include "video_core/video_core.h"
9 9
10namespace Settings { 10namespace Settings {
diff --git a/src/core/system.cpp b/src/core/system.cpp
index ef190203c..7d54811a0 100644
--- a/src/core/system.cpp
+++ b/src/core/system.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 "core/system.h"
6#include "audio_core/audio_core.h" 5#include "audio_core/audio_core.h"
7#include "core/core.h" 6#include "core/core.h"
8#include "core/core_timing.h" 7#include "core/core_timing.h"
@@ -11,6 +10,7 @@
11#include "core/hle/kernel/kernel.h" 10#include "core/hle/kernel/kernel.h"
12#include "core/hle/kernel/memory.h" 11#include "core/hle/kernel/memory.h"
13#include "core/hw/hw.h" 12#include "core/hw/hw.h"
13#include "core/system.h"
14#include "video_core/video_core.h" 14#include "video_core/video_core.h"
15 15
16namespace System { 16namespace System {
diff --git a/src/core/tracer/recorder.cpp b/src/core/tracer/recorder.cpp
index ba4362484..276a5b288 100644
--- a/src/core/tracer/recorder.cpp
+++ b/src/core/tracer/recorder.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 "recorder.h"
6#include <cstring> 5#include <cstring>
7#include "common/assert.h" 6#include "common/assert.h"
8#include "common/file_util.h" 7#include "common/file_util.h"
9#include "common/logging/log.h" 8#include "common/logging/log.h"
9#include "recorder.h"
10 10
11namespace CiTrace { 11namespace CiTrace {
12 12
diff --git a/src/video_core/clipper.cpp b/src/video_core/clipper.cpp
index 5aad47418..05b5cea73 100644
--- a/src/video_core/clipper.cpp
+++ b/src/video_core/clipper.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 "video_core/clipper.h"
6#include <algorithm> 5#include <algorithm>
7#include <array> 6#include <array>
8#include <cstddef> 7#include <cstddef>
@@ -12,6 +11,7 @@
12#include "common/common_types.h" 11#include "common/common_types.h"
13#include "common/logging/log.h" 12#include "common/logging/log.h"
14#include "common/vector_math.h" 13#include "common/vector_math.h"
14#include "video_core/clipper.h"
15#include "video_core/pica.h" 15#include "video_core/pica.h"
16#include "video_core/pica_state.h" 16#include "video_core/pica_state.h"
17#include "video_core/pica_types.h" 17#include "video_core/pica_types.h"
diff --git a/src/video_core/command_processor.cpp b/src/video_core/command_processor.cpp
index 5c74b68e9..bb618cacd 100644
--- a/src/video_core/command_processor.cpp
+++ b/src/video_core/command_processor.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 "video_core/command_processor.h"
6#include <array> 5#include <array>
7#include <cstddef> 6#include <cstddef>
8#include <memory> 7#include <memory>
@@ -15,6 +14,7 @@
15#include "core/hw/gpu.h" 14#include "core/hw/gpu.h"
16#include "core/memory.h" 15#include "core/memory.h"
17#include "core/tracer/recorder.h" 16#include "core/tracer/recorder.h"
17#include "video_core/command_processor.h"
18#include "video_core/debug_utils/debug_utils.h" 18#include "video_core/debug_utils/debug_utils.h"
19#include "video_core/pica.h" 19#include "video_core/pica.h"
20#include "video_core/pica_state.h" 20#include "video_core/pica_state.h"
diff --git a/src/video_core/pica.cpp b/src/video_core/pica.cpp
index 771e83fe7..ce2bd455e 100644
--- a/src/video_core/pica.cpp
+++ b/src/video_core/pica.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 "video_core/pica.h"
6#include <cstring> 5#include <cstring>
7#include <iterator> 6#include <iterator>
8#include <unordered_map> 7#include <unordered_map>
9#include <utility> 8#include <utility>
9#include "video_core/pica.h"
10#include "video_core/pica_state.h" 10#include "video_core/pica_state.h"
11#include "video_core/primitive_assembly.h" 11#include "video_core/primitive_assembly.h"
12#include "video_core/shader/shader.h" 12#include "video_core/shader/shader.h"
diff --git a/src/video_core/primitive_assembly.cpp b/src/video_core/primitive_assembly.cpp
index 670ffb67d..be7377290 100644
--- a/src/video_core/primitive_assembly.cpp
+++ b/src/video_core/primitive_assembly.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 "video_core/primitive_assembly.h"
6#include "common/logging/log.h" 5#include "common/logging/log.h"
7#include "video_core/pica.h" 6#include "video_core/pica.h"
7#include "video_core/primitive_assembly.h"
8#include "video_core/shader/shader.h" 8#include "video_core/shader/shader.h"
9 9
10namespace Pica { 10namespace Pica {
diff --git a/src/video_core/rasterizer.cpp b/src/video_core/rasterizer.cpp
index c179573d6..6c4bbed33 100644
--- a/src/video_core/rasterizer.cpp
+++ b/src/video_core/rasterizer.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 "video_core/rasterizer.h"
6#include <algorithm> 5#include <algorithm>
7#include <array> 6#include <array>
8#include <cmath> 7#include <cmath>
@@ -20,6 +19,7 @@
20#include "video_core/pica.h" 19#include "video_core/pica.h"
21#include "video_core/pica_state.h" 20#include "video_core/pica_state.h"
22#include "video_core/pica_types.h" 21#include "video_core/pica_types.h"
22#include "video_core/rasterizer.h"
23#include "video_core/shader/shader.h" 23#include "video_core/shader/shader.h"
24#include "video_core/utils.h" 24#include "video_core/utils.h"
25 25
diff --git a/src/video_core/renderer_base.cpp b/src/video_core/renderer_base.cpp
index 91347dea8..fd38175b3 100644
--- a/src/video_core/renderer_base.cpp
+++ b/src/video_core/renderer_base.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 "video_core/renderer_base.h"
6#include <atomic> 5#include <atomic>
7#include <memory> 6#include <memory>
7#include "video_core/renderer_base.h"
8#include "video_core/renderer_opengl/gl_rasterizer.h" 8#include "video_core/renderer_opengl/gl_rasterizer.h"
9#include "video_core/swrasterizer.h" 9#include "video_core/swrasterizer.h"
10#include "video_core/video_core.h" 10#include "video_core/video_core.h"
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp
index 45a4dc97d..60c9d9180 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer.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 "video_core/renderer_opengl/gl_rasterizer.h"
6#include <memory> 5#include <memory>
7#include <string> 6#include <string>
8#include <tuple> 7#include <tuple>
@@ -16,6 +15,7 @@
16#include "core/hw/gpu.h" 15#include "core/hw/gpu.h"
17#include "video_core/pica.h" 16#include "video_core/pica.h"
18#include "video_core/pica_state.h" 17#include "video_core/pica_state.h"
18#include "video_core/renderer_opengl/gl_rasterizer.h"
19#include "video_core/renderer_opengl/gl_shader_gen.h" 19#include "video_core/renderer_opengl/gl_shader_gen.h"
20#include "video_core/renderer_opengl/gl_shader_util.h" 20#include "video_core/renderer_opengl/gl_shader_util.h"
21#include "video_core/renderer_opengl/pica_to_gl.h" 21#include "video_core/renderer_opengl/pica_to_gl.h"
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
index ce9a193bd..5cbad9b43 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.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 "video_core/renderer_opengl/gl_rasterizer_cache.h"
6#include <algorithm> 5#include <algorithm>
7#include <atomic> 6#include <atomic>
8#include <cstring> 7#include <cstring>
@@ -20,6 +19,7 @@
20#include "core/memory.h" 19#include "core/memory.h"
21#include "video_core/debug_utils/debug_utils.h" 20#include "video_core/debug_utils/debug_utils.h"
22#include "video_core/pica_state.h" 21#include "video_core/pica_state.h"
22#include "video_core/renderer_opengl/gl_rasterizer_cache.h"
23#include "video_core/renderer_opengl/gl_state.h" 23#include "video_core/renderer_opengl/gl_state.h"
24#include "video_core/utils.h" 24#include "video_core/utils.h"
25#include "video_core/video_core.h" 25#include "video_core/video_core.h"
diff --git a/src/video_core/renderer_opengl/gl_shader_gen.cpp b/src/video_core/renderer_opengl/gl_shader_gen.cpp
index 52cee2ee2..1808ee0a9 100644
--- a/src/video_core/renderer_opengl/gl_shader_gen.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_gen.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 "video_core/renderer_opengl/gl_shader_gen.h"
6#include <array> 5#include <array>
7#include <cstddef> 6#include <cstddef>
8#include "common/assert.h" 7#include "common/assert.h"
@@ -10,6 +9,7 @@
10#include "common/logging/log.h" 9#include "common/logging/log.h"
11#include "video_core/pica.h" 10#include "video_core/pica.h"
12#include "video_core/renderer_opengl/gl_rasterizer.h" 11#include "video_core/renderer_opengl/gl_rasterizer.h"
12#include "video_core/renderer_opengl/gl_shader_gen.h"
13#include "video_core/renderer_opengl/gl_shader_util.h" 13#include "video_core/renderer_opengl/gl_shader_util.h"
14 14
15using Pica::Regs; 15using Pica::Regs;
diff --git a/src/video_core/renderer_opengl/gl_shader_util.cpp b/src/video_core/renderer_opengl/gl_shader_util.cpp
index c8ba3b92d..fe07aa6eb 100644
--- a/src/video_core/renderer_opengl/gl_shader_util.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_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 "video_core/renderer_opengl/gl_shader_util.h"
6#include <vector> 5#include <vector>
7#include <glad/glad.h> 6#include <glad/glad.h>
8#include "common/logging/log.h" 7#include "common/logging/log.h"
8#include "video_core/renderer_opengl/gl_shader_util.h"
9 9
10namespace GLShader { 10namespace GLShader {
11 11
diff --git a/src/video_core/renderer_opengl/gl_state.cpp b/src/video_core/renderer_opengl/gl_state.cpp
index 96af8469d..ed84cadea 100644
--- a/src/video_core/renderer_opengl/gl_state.cpp
+++ b/src/video_core/renderer_opengl/gl_state.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 "video_core/renderer_opengl/gl_state.h"
6#include <glad/glad.h> 5#include <glad/glad.h>
7#include "common/common_funcs.h" 6#include "common/common_funcs.h"
8#include "common/logging/log.h" 7#include "common/logging/log.h"
8#include "video_core/renderer_opengl/gl_state.h"
9 9
10OpenGLState OpenGLState::cur_state; 10OpenGLState OpenGLState::cur_state;
11 11
diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp
index 962785bdd..03a588364 100644
--- a/src/video_core/renderer_opengl/renderer_opengl.cpp
+++ b/src/video_core/renderer_opengl/renderer_opengl.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 "video_core/renderer_opengl/renderer_opengl.h"
6#include <algorithm> 5#include <algorithm>
7#include <cstddef> 6#include <cstddef>
8#include <cstdlib> 7#include <cstdlib>
@@ -22,6 +21,7 @@
22#include "core/tracer/recorder.h" 21#include "core/tracer/recorder.h"
23#include "video_core/debug_utils/debug_utils.h" 22#include "video_core/debug_utils/debug_utils.h"
24#include "video_core/rasterizer_interface.h" 23#include "video_core/rasterizer_interface.h"
24#include "video_core/renderer_opengl/renderer_opengl.h"
25#include "video_core/video_core.h" 25#include "video_core/video_core.h"
26 26
27static const char vertex_shader[] = R"( 27static const char vertex_shader[] = R"(
diff --git a/src/video_core/shader/shader.cpp b/src/video_core/shader/shader.cpp
index 53e91df03..272f3ffe1 100644
--- a/src/video_core/shader/shader.cpp
+++ b/src/video_core/shader/shader.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 "video_core/shader/shader.h"
6#include <atomic> 5#include <atomic>
7#include <cmath> 6#include <cmath>
8#include <cstring> 7#include <cstring>
@@ -15,6 +14,7 @@
15#include "common/microprofile.h" 14#include "common/microprofile.h"
16#include "video_core/pica.h" 15#include "video_core/pica.h"
17#include "video_core/pica_state.h" 16#include "video_core/pica_state.h"
17#include "video_core/shader/shader.h"
18#include "video_core/shader/shader_interpreter.h" 18#include "video_core/shader/shader_interpreter.h"
19#ifdef ARCHITECTURE_x86_64 19#ifdef ARCHITECTURE_x86_64
20#include "video_core/shader/shader_jit_x64.h" 20#include "video_core/shader/shader_jit_x64.h"
diff --git a/src/video_core/shader/shader_interpreter.cpp b/src/video_core/shader/shader_interpreter.cpp
index 5df3c4e86..501d00b6b 100644
--- a/src/video_core/shader/shader_interpreter.cpp
+++ b/src/video_core/shader/shader_interpreter.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 "video_core/shader/shader.h"
6#include <algorithm> 5#include <algorithm>
7#include <array> 6#include <array>
8#include <cmath> 7#include <cmath>
@@ -14,6 +13,7 @@
14#include "common/vector_math.h" 13#include "common/vector_math.h"
15#include "video_core/pica_state.h" 14#include "video_core/pica_state.h"
16#include "video_core/pica_types.h" 15#include "video_core/pica_types.h"
16#include "video_core/shader/shader.h"
17#include "video_core/shader/shader_interpreter.h" 17#include "video_core/shader/shader_interpreter.h"
18 18
19using nihstro::OpCode; 19using nihstro::OpCode;
diff --git a/src/video_core/shader/shader_jit_x64.cpp b/src/video_core/shader/shader_jit_x64.cpp
index 5f1323799..4d788755b 100644
--- a/src/video_core/shader/shader_jit_x64.cpp
+++ b/src/video_core/shader/shader_jit_x64.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 "shader.h"
6#include <algorithm> 5#include <algorithm>
7#include <cmath> 6#include <cmath>
8#include <cstdint> 7#include <cstdint>
@@ -14,6 +13,7 @@
14#include "common/x64/abi.h" 13#include "common/x64/abi.h"
15#include "common/x64/cpu_detect.h" 14#include "common/x64/cpu_detect.h"
16#include "common/x64/emitter.h" 15#include "common/x64/emitter.h"
16#include "shader.h"
17#include "shader_jit_x64.h" 17#include "shader_jit_x64.h"
18#include "video_core/pica_state.h" 18#include "video_core/pica_state.h"
19#include "video_core/pica_types.h" 19#include "video_core/pica_types.h"
diff --git a/src/video_core/swrasterizer.cpp b/src/video_core/swrasterizer.cpp
index ba458746c..9cd21f72b 100644
--- a/src/video_core/swrasterizer.cpp
+++ b/src/video_core/swrasterizer.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 "video_core/swrasterizer.h"
6#include "video_core/clipper.h" 5#include "video_core/clipper.h"
6#include "video_core/swrasterizer.h"
7 7
8namespace VideoCore { 8namespace VideoCore {
9 9
diff --git a/src/video_core/vertex_loader.cpp b/src/video_core/vertex_loader.cpp
index 5704e9fea..2b8ef7018 100644
--- a/src/video_core/vertex_loader.cpp
+++ b/src/video_core/vertex_loader.cpp
@@ -1,4 +1,3 @@
1#include "video_core/vertex_loader.h"
2#include <memory> 1#include <memory>
3#include <boost/range/algorithm/fill.hpp> 2#include <boost/range/algorithm/fill.hpp>
4#include "common/alignment.h" 3#include "common/alignment.h"
@@ -13,6 +12,7 @@
13#include "video_core/pica_state.h" 12#include "video_core/pica_state.h"
14#include "video_core/pica_types.h" 13#include "video_core/pica_types.h"
15#include "video_core/shader/shader.h" 14#include "video_core/shader/shader.h"
15#include "video_core/vertex_loader.h"
16 16
17namespace Pica { 17namespace Pica {
18 18
diff --git a/src/video_core/video_core.cpp b/src/video_core/video_core.cpp
index b06a88b78..83e33dfc2 100644
--- a/src/video_core/video_core.cpp
+++ b/src/video_core/video_core.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 "video_core/video_core.h"
6#include <memory> 5#include <memory>
7#include "common/logging/log.h" 6#include "common/logging/log.h"
8#include "video_core/pica.h" 7#include "video_core/pica.h"
9#include "video_core/renderer_base.h" 8#include "video_core/renderer_base.h"
10#include "video_core/renderer_opengl/renderer_opengl.h" 9#include "video_core/renderer_opengl/renderer_opengl.h"
10#include "video_core/video_core.h"
11 11
12//////////////////////////////////////////////////////////////////////////////////////////////////// 12////////////////////////////////////////////////////////////////////////////////////////////////////
13// Video Core namespace 13// Video Core namespace