Treewide: Adjust order of includes

This commit is contained in:
Pokechu22 2021-12-09 18:22:16 -08:00
parent 9304fe7124
commit 2025763420
214 changed files with 430 additions and 252 deletions

View File

@ -1,9 +1,10 @@
// Copyright 2009 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "AudioCommon/AlsaSoundStream.h"
#include <mutex>
#include "AudioCommon/AlsaSoundStream.h"
#include "Common/CommonTypes.h"
#include "Common/Logging/Log.h"
#include "Common/Thread.h"

View File

@ -1,11 +1,12 @@
// Copyright 2017 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "AudioCommon/AudioStretcher.h"
#include <algorithm>
#include <cmath>
#include <cstddef>
#include "AudioCommon/AudioStretcher.h"
#include "Common/Logging/Log.h"
#include "Core/Config/MainSettings.h"

View File

@ -1,9 +1,10 @@
// Copyright 2017 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "AudioCommon/CubebStream.h"
#include <cubeb/cubeb.h>
#include "AudioCommon/CubebStream.h"
#include "AudioCommon/CubebUtils.h"
#include "Common/CommonTypes.h"
#include "Common/Logging/Log.h"

View File

@ -1,11 +1,12 @@
// Copyright 2017 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "AudioCommon/CubebUtils.h"
#include <cstdarg>
#include <cstddef>
#include <cstring>
#include "AudioCommon/CubebUtils.h"
#include "Common/CommonPaths.h"
#include "Common/Logging/Log.h"
#include "Common/Logging/LogManager.h"

View File

@ -2,12 +2,12 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#include "AudioCommon/Mixer.h"
#include "AudioCommon/Enums.h"
#include <algorithm>
#include <cmath>
#include <cstring>
#include "AudioCommon/Enums.h"
#include "Common/ChunkFile.h"
#include "Common/CommonTypes.h"
#include "Common/Logging/Log.h"

View File

@ -3,12 +3,13 @@
#ifdef _WIN32
#include "AudioCommon/OpenALStream.h"
#include <windows.h>
#include <climits>
#include <cstring>
#include <thread>
#include "AudioCommon/OpenALStream.h"
#include "Common/Logging/Log.h"
#include "Common/MsgHandler.h"
#include "Common/Thread.h"

View File

@ -1,11 +1,11 @@
// Copyright 2017 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "AudioCommon/SurroundDecoder.h"
#include <FreeSurround/FreeSurroundDecoder.h>
#include <limits>
#include "AudioCommon/SurroundDecoder.h"
namespace AudioCommon
{
constexpr size_t STEREO_CHANNELS = 2;

View File

@ -1,12 +1,13 @@
// Copyright 2016 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/Analytics.h"
#include <cmath>
#include <cstdio>
#include <string>
#include <type_traits>
#include "Common/Analytics.h"
#include "Common/CommonTypes.h"
#include "Common/StringUtil.h"
#include "Common/Thread.h"

View File

@ -1,11 +1,11 @@
// Copyright 2018 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/AndroidAnalytics.h"
#include <functional>
#include <string>
#include "Common/AndroidAnalytics.h"
namespace Common
{
std::function<void(std::string, std::string)> s_android_send_report;

View File

@ -1,6 +1,8 @@
// Copyright 2015 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/Arm64Emitter.h"
#include <algorithm>
#include <array>
#include <cinttypes>
@ -11,7 +13,6 @@
#include <vector>
#include "Common/Align.h"
#include "Common/Arm64Emitter.h"
#include "Common/Assert.h"
#include "Common/BitUtils.h"
#include "Common/CommonTypes.h"

View File

@ -1,6 +1,8 @@
// Copyright 2013 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/CPUDetect.h"
#include <cstring>
#include <fstream>
#include <sstream>
@ -17,7 +19,6 @@
#include <fmt/format.h>
#include "Common/CPUDetect.h"
#include "Common/CommonTypes.h"
#include "Common/FileUtil.h"

View File

@ -1,15 +1,16 @@
// Copyright 2021 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/CPUDetect.h"
#include "Common/CommonTypes.h"
#include "Common/FPURoundMode.h"
#include "Common/Logging/Log.h"
#ifdef _MSC_VER
#include <intrin.h>
#endif
#include "Common/CPUDetect.h"
#include "Common/CommonTypes.h"
#include "Common/Logging/Log.h"
static u64 GetFPCR()
{
#ifdef _MSC_VER

View File

@ -3,6 +3,8 @@
// Most of the code in this file was shamelessly ripped from libcdio With minor adjustments
#include "Common/CDUtils.h"
#include <algorithm>
#include <cstdlib>
#include <string>
@ -10,11 +12,6 @@
#include <fmt/format.h>
#include "Common/CDUtils.h"
#include "Common/Common.h"
#include "Common/CommonTypes.h"
#include "Common/StringUtil.h"
#ifdef _WIN32
#include <windows.h>
#elif __APPLE__
@ -36,6 +33,10 @@
#include <linux/cdrom.h>
#endif
#include "Common/Common.h"
#include "Common/CommonTypes.h"
#include "Common/StringUtil.h"
namespace Common
{
#ifdef _WIN32

View File

@ -1,10 +1,10 @@
// Copyright 2021 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <zlib.h>
#include "Common/CRC32.h"
#include <zlib.h>
namespace Common
{
u32 ComputeCRC32(std::string_view data)

View File

@ -1,13 +1,13 @@
// Copyright 2009 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/CommonFuncs.h"
#include <cstddef>
#include <cstring>
#include <errno.h>
#include <type_traits>
#include "Common/CommonFuncs.h"
#ifdef _WIN32
#include <windows.h>
#define strerror_r(err, buf, len) strerror_s(buf, len, err)

View File

@ -1,6 +1,8 @@
// Copyright 2016 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/Config/Config.h"
#include <algorithm>
#include <atomic>
#include <list>
@ -8,8 +10,6 @@
#include <mutex>
#include <shared_mutex>
#include "Common/Config/Config.h"
namespace Config
{
using Layers = std::map<LayerType, std::shared_ptr<Layer>>;

View File

@ -1,10 +1,11 @@
// Copyright 2016 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/Config/ConfigInfo.h"
#include <cstring>
#include "Common/CommonFuncs.h"
#include "Common/Config/ConfigInfo.h"
namespace Config
{

View File

@ -1,12 +1,13 @@
// Copyright 2016 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/Config/Layer.h"
#include <algorithm>
#include <cstring>
#include <map>
#include "Common/Config/Config.h"
#include "Common/Config/Layer.h"
namespace Config
{

View File

@ -1,10 +1,10 @@
// Copyright 2017 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <mbedtls/aes.h>
#include "Common/Crypto/AES.h"
#include <mbedtls/aes.h>
namespace Common::AES
{
std::vector<u8> DecryptEncrypt(const u8* key, u8* iv, const u8* src, size_t size, Mode mode)

View File

@ -1,11 +1,12 @@
// Copyright 2007,2008 Segher Boessenkool <segher@kernel.crashing.org>
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/Crypto/bn.h"
#include <cstdio>
#include <cstring>
#include "Common/CommonTypes.h"
#include "Common/Crypto/bn.h"
static void bn_zero(u8* d, int n)
{

View File

@ -2,11 +2,12 @@
// Copyright 2007,2008 Segher Boessenkool <segher@kernel.crashing.org>
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/Crypto/ec.h"
#include <algorithm>
#include <cstring>
#include "Common/Crypto/bn.h"
#include "Common/Crypto/ec.h"
#include "Common/Inline.h"
#include "Common/Random.h"
#include "Common/StringUtil.h"

View File

@ -1,7 +1,7 @@
// Copyright 2015 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "ENetUtil.h"
#include "Common/ENetUtil.h"
#include "Common/CommonTypes.h"

View File

@ -1,12 +1,13 @@
// Copyright 2008 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/FileSearch.h"
#include <algorithm>
#include <functional>
#include <iterator>
#include "Common/CommonPaths.h"
#include "Common/FileSearch.h"
#include "Common/StringUtil.h"
#ifdef _MSC_VER

View File

@ -1,6 +1,8 @@
// Copyright 2008 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/FileUtil.h"
#include <algorithm>
#include <chrono>
#include <cstddef>
@ -22,7 +24,6 @@
#ifdef __APPLE__
#include "Common/DynamicLibrary.h"
#endif
#include "Common/FileUtil.h"
#include "Common/IOFile.h"
#include "Common/Logging/Log.h"

View File

@ -1,11 +1,12 @@
// Copyright 2013 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/GL/GLExtensions/GLExtensions.h"
#include <sstream>
#include <unordered_map>
#include "Common/GL/GLContext.h"
#include "Common/GL/GLExtensions/GLExtensions.h"
#include "Common/Logging/Log.h"
#if defined(__linux__) || defined(__APPLE__)

View File

@ -1,12 +1,13 @@
// Copyright 2012 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/GL/GLInterface/EGL.h"
#include <array>
#include <cstdlib>
#include <sstream>
#include <vector>
#include "Common/GL/GLInterface/EGL.h"
#include "Common/Logging/Log.h"
#ifndef EGL_KHR_create_context

View File

@ -2,6 +2,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/GL/GLInterface/EGLAndroid.h"
#include <android/native_window.h>
EGLDisplay GLContextEGLAndroid::OpenEGLDisplay()

View File

@ -1,10 +1,11 @@
// Copyright 2012 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/GL/GLInterface/GLX.h"
#include <array>
#include <sstream>
#include "Common/GL/GLInterface/GLX.h"
#include "Common/Logging/Log.h"
#define GLX_CONTEXT_MAJOR_VERSION_ARB 0x2091

View File

@ -1,11 +1,12 @@
// Copyright 2012 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/GL/GLInterface/WGL.h"
#include <windows.h>
#include <array>
#include <string>
#include "Common/GL/GLInterface/WGL.h"
#include "Common/Logging/Log.h"
#include "Common/MsgHandler.h"

View File

@ -1,11 +1,12 @@
// Copyright 2008 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/GL/GLUtil.h"
#include <memory>
#include "Common/Assert.h"
#include "Common/GL/GLContext.h"
#include "Common/GL/GLUtil.h"
#include "Common/Logging/Log.h"
namespace GLUtil

View File

@ -1,9 +1,10 @@
// Copyright 2003 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/CommonTypes.h"
#include "Common/FPURoundMode.h"
#include "Common/CommonTypes.h"
// Generic, do nothing
namespace FPURoundMode
{

View File

@ -1,6 +1,8 @@
// Copyright 2008 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/IOFile.h"
#include <cstddef>
#include <cstdio>
#include <string>
@ -22,7 +24,6 @@
#include "Common/CommonTypes.h"
#include "Common/FileUtil.h"
#include "Common/IOFile.h"
namespace File
{

View File

@ -1,13 +1,13 @@
// Copyright 2008 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/LdrWatcher.h"
#include <Windows.h>
#include <TlHelp32.h>
#include <string>
#include <winternl.h>
#include "Common/LdrWatcher.h"
typedef struct _LDR_DLL_LOADED_NOTIFICATION_DATA
{
ULONG Flags; // Reserved.

View File

@ -1,10 +1,10 @@
// Copyright 2015 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <android/log.h>
#include "Common/Logging/ConsoleListener.h"
#include <android/log.h>
ConsoleListener::ConsoleListener()
{
}

View File

@ -1,6 +1,8 @@
// Copyright 2015 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/Logging/ConsoleListener.h"
#include <cstdio>
#include <cstring>
@ -8,7 +10,6 @@
#include <unistd.h>
#endif
#include "Common/Logging/ConsoleListener.h"
#include "Common/Logging/Log.h"
ConsoleListener::ConsoleListener()

View File

@ -1,9 +1,10 @@
// Copyright 2015 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/Logging/ConsoleListener.h"
#include <windows.h>
#include "Common/Logging/ConsoleListener.h"
#include "Common/StringUtil.h"
ConsoleListener::ConsoleListener()

View File

@ -3,11 +3,11 @@
#include "Common/Matrix.h"
#include "Common/MathUtil.h"
#include <algorithm>
#include <cmath>
#include "Common/MathUtil.h"
namespace
{
// Multiply a NxM matrix by a MxP matrix.

View File

@ -1,6 +1,8 @@
// Copyright 2008 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/MemArena.h"
#include <cstddef>
#include <cstdlib>
#include <set>
@ -9,7 +11,6 @@
#include "Common/CommonFuncs.h"
#include "Common/CommonTypes.h"
#include "Common/Logging/Log.h"
#include "Common/MemArena.h"
#include "Common/MsgHandler.h"
#include "Common/StringUtil.h"

View File

@ -1,6 +1,8 @@
// Copyright 2008 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/MemoryUtil.h"
#include <cstddef>
#include <cstdlib>
#include <string>
@ -8,7 +10,6 @@
#include "Common/CommonFuncs.h"
#include "Common/CommonTypes.h"
#include "Common/Logging/Log.h"
#include "Common/MemoryUtil.h"
#include "Common/MsgHandler.h"
#ifdef _WIN32

View File

@ -1,11 +1,12 @@
// Copyright 2014 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/PcapFile.h"
#include <chrono>
#include "Common/CommonTypes.h"
#include "Common/IOFile.h"
#include "Common/PcapFile.h"
namespace Common
{

View File

@ -2,6 +2,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#if !defined(_WIN32)
#include "Common/PerformanceCounter.h"
#include <cstdint>
#include <ctime>
@ -9,7 +10,6 @@
#include <unistd.h>
#include "Common/CommonTypes.h"
#include "Common/PerformanceCounter.h"
#if defined(_POSIX_TIMERS) && _POSIX_TIMERS > 0
#if defined(_POSIX_MONOTONIC_CLOCK) && _POSIX_MONOTONIC_CLOCK > 0

View File

@ -1,6 +1,8 @@
// Copyright 2014 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/Profiler.h"
#include <algorithm>
#include <cmath>
#include <cstdio>
@ -9,7 +11,6 @@
#include <ios>
#include <sstream>
#include "Common/Profiler.h"
#include "Common/Timer.h"
namespace Common

View File

@ -2,13 +2,14 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/QoSSession.h"
#include "Core/ConfigManager.h"
#if defined(_WIN32)
#include <Qos2.h>
#pragma comment(lib, "qwave")
#endif
#include "Core/ConfigManager.h"
namespace Common
{
#if defined(_WIN32)

View File

@ -1,6 +1,8 @@
// Copyright 2009 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/SymbolDB.h"
#include <cstring>
#include <map>
#include <string>
@ -8,7 +10,6 @@
#include "Common/CommonTypes.h"
#include "Common/Logging/Log.h"
#include "Common/SymbolDB.h"
namespace Common
{

View File

@ -2,9 +2,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/Thread.h"
#include "Common/CommonFuncs.h"
#include "Common/CommonTypes.h"
#include "Common/StringUtil.h"
#ifdef _WIN32
#include <Windows.h>
@ -28,6 +25,10 @@
#pragma comment(lib, "libittnotify.lib")
#endif
#include "Common/CommonFuncs.h"
#include "Common/CommonTypes.h"
#include "Common/StringUtil.h"
namespace Common
{
int CurrentThreadId()

View File

@ -2,6 +2,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/x64ABI.h"
#include "Common/CommonTypes.h"
#include "Common/x64Emitter.h"

View File

@ -1,10 +1,11 @@
// Copyright 2008 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/CPUDetect.h"
#include <cstring>
#include <string>
#include "Common/CPUDetect.h"
#include "Common/CommonTypes.h"
#include "Common/Intrinsics.h"

View File

@ -1,13 +1,14 @@
// Copyright 2008 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/x64Emitter.h"
#include <cinttypes>
#include <cstring>
#include "Common/CPUDetect.h"
#include "Common/CommonTypes.h"
#include "Common/Logging/Log.h"
#include "Common/x64Emitter.h"
#include "Common/x64Reg.h"
namespace Gen

View File

@ -1,11 +1,12 @@
// Copyright 2013 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/FPURoundMode.h"
#include <cfenv>
#include "Common/CPUDetect.h"
#include "Common/CommonTypes.h"
#include "Common/FPURoundMode.h"
#include "Common/Intrinsics.h"
namespace FPURoundMode

View File

@ -1,12 +1,12 @@
// Copyright 2021 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/CheatGeneration.h"
#include <vector>
#include <fmt/format.h>
#include "Core/CheatGeneration.h"
#include "Common/Align.h"
#include "Common/CommonTypes.h"
#include "Common/Result.h"

View File

@ -2,11 +2,11 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/Config/FreeLookSettings.h"
#include "Core/FreeLookConfig.h"
#include <string>
#include "Common/Config/Config.h"
#include "Core/FreeLookConfig.h"
namespace Config
{

View File

@ -1,10 +1,10 @@
// Copyright 2008 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <algorithm>
#include "Core/DSP/DSPAccelerator.h"
#include <algorithm>
#include "Common/ChunkFile.h"
#include "Common/CommonTypes.h"
#include "Common/Logging/Log.h"

View File

@ -2,6 +2,8 @@
// Copyright 2004 Duddie & Tratax
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/DSP/DSPCore.h"
#include <atomic>
#include <cstddef>
#include <cstring>
@ -14,7 +16,6 @@
#include "Common/Swap.h"
#include "Core/DSP/DSPAccelerator.h"
#include "Core/DSP/DSPCore.h"
#include "Core/DSP/DSPHost.h"
#include "Core/DSP/DSPTables.h"

View File

@ -2,9 +2,10 @@
// Copyright 2004 Duddie & Tratax
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/DSP/DSPCore.h"
#include "Common/Logging/Log.h"
#include "Core/DSP/DSPCore.h"
#include "Core/DSP/DSPTables.h"
namespace DSP

View File

@ -2,10 +2,11 @@
// Copyright 2004 Duddie & Tratax
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/DSP/DSPCore.h"
#include <cstddef>
#include "Common/CommonTypes.h"
#include "Core/DSP/DSPCore.h"
// Stacks. The stacks are outside the DSP RAM, in dedicated hardware.
namespace DSP

View File

@ -3,9 +3,10 @@
//
// Additional copyrights go to Duddie and Tratax (c) 2004
#include "Core/DSP/Interpreter/DSPInterpreter.h"
#include "Core/DSP/Interpreter/DSPIntCCUtil.h"
#include "Core/DSP/Interpreter/DSPIntUtil.h"
#include "Core/DSP/Interpreter/DSPInterpreter.h"
// Arithmetic and accumulator control.

View File

@ -3,9 +3,10 @@
//
// Additional copyrights go to Duddie and Tratax (c) 2004
#include "Core/DSP/DSPCore.h"
#include "Core/DSP/Interpreter/DSPInterpreter.h"
#include "Core/DSP/DSPCore.h"
namespace DSP::Interpreter
{
// Generic call implementation

View File

@ -3,9 +3,10 @@
//
// Additional copyrights go to Duddie and Tratax (c) 2004
#include "Common/CommonTypes.h"
#include "Core/DSP/Interpreter/DSPInterpreter.h"
#include "Common/CommonTypes.h"
namespace DSP::Interpreter
{
// SRSH @M, $acS.h

View File

@ -3,10 +3,11 @@
//
// Additional copyrights go to Duddie and Tratax (c) 2004
#include "Core/DSP/Interpreter/DSPInterpreter.h"
#include "Core/DSP/DSPCore.h"
#include "Core/DSP/DSPTables.h"
#include "Core/DSP/Interpreter/DSPIntUtil.h"
#include "Core/DSP/Interpreter/DSPInterpreter.h"
namespace DSP::Interpreter
{

View File

@ -5,10 +5,11 @@
// Multiplier and product register control
#include "Core/DSP/Interpreter/DSPInterpreter.h"
#include "Core/DSP/DSPTables.h"
#include "Core/DSP/Interpreter/DSPIntCCUtil.h"
#include "Core/DSP/Interpreter/DSPIntUtil.h"
#include "Core/DSP/Interpreter/DSPInterpreter.h"
namespace DSP::Interpreter
{

View File

@ -3,11 +3,11 @@
// Additional copyrights go to Duddie and Tratax (c) 2004
#include "Common/CommonTypes.h"
#include "Core/DSP/DSPCore.h"
#include "Core/DSP/Jit/x64/DSPEmitter.h"
#include "Common/CommonTypes.h"
#include "Core/DSP/DSPCore.h"
using namespace Gen;
namespace DSP::JIT::x64

View File

@ -1,12 +1,13 @@
// Copyright 2010 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/DSP/Jit/x64/DSPEmitter.h"
#include "Common/CommonTypes.h"
#include "Core/DSP/DSPAnalyzer.h"
#include "Core/DSP/DSPCore.h"
#include "Core/DSP/DSPTables.h"
#include "Core/DSP/Jit/x64/DSPEmitter.h"
using namespace Gen;

View File

@ -3,9 +3,10 @@
// Additional copyrights go to Duddie and Tratax (c) 2004
#include "Core/DSP/DSPCore.h"
#include "Core/DSP/Jit/x64/DSPEmitter.h"
#include "Core/DSP/DSPCore.h"
using namespace Gen;
namespace DSP::JIT::x64

View File

@ -1,10 +1,11 @@
// Copyright 2010 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/DSP/Jit/x64/DSPEmitter.h"
#include "Common/CommonTypes.h"
#include "Core/DSP/DSPCore.h"
#include "Core/DSP/Jit/x64/DSPEmitter.h"
using namespace Gen;

View File

@ -3,10 +3,11 @@
// Additional copyrights go to Duddie and Tratax (c) 2004
#include "Core/DSP/Jit/x64/DSPEmitter.h"
#include "Common/CommonTypes.h"
#include "Core/DSP/DSPCore.h"
#include "Core/DSP/Jit/x64/DSPEmitter.h"
using namespace Gen;

View File

@ -1,10 +1,11 @@
// Copyright 2009 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/DSP/Jit/x64/DSPEmitter.h"
#include "Common/CommonTypes.h"
#include "Core/DSP/DSPCore.h"
#include "Core/DSP/Jit/x64/DSPEmitter.h"
using namespace Gen;

View File

@ -5,12 +5,13 @@
// Multiplier and product register control
#include "Core/DSP/Jit/x64/DSPEmitter.h"
#include <cstddef>
#include "Common/CommonTypes.h"
#include "Core/DSP/DSPCore.h"
#include "Core/DSP/Jit/x64/DSPEmitter.h"
using namespace Gen;

View File

@ -1,11 +1,11 @@
// Copyright 2010 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Common/CommonTypes.h"
#include "Core/DSP/Jit/x64/DSPEmitter.h"
#include "Common/CommonTypes.h"
#include "Common/Logging/Log.h"
#include "Core/DSP/DSPCore.h"
#include "Core/DSP/Jit/x64/DSPEmitter.h"
using namespace Gen;

View File

@ -1,6 +1,8 @@
// Copyright 2020 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/HW/EXI/EXI_DeviceEthernet.h"
#include <fcntl.h>
#include <sys/socket.h>
#include <sys/un.h>
@ -9,7 +11,6 @@
#include "Common/Logging/Log.h"
#include "Common/StringUtil.h"
#include "Core/HW/EXI/EXI_Device.h"
#include "Core/HW/EXI/EXI_DeviceEthernet.h"
namespace ExpansionInterface
{

View File

@ -1,13 +1,14 @@
// Copyright 2008 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/HW/EXI/EXI_DeviceEthernet.h"
#include <fcntl.h>
#include <unistd.h>
#include "Common/Logging/Log.h"
#include "Common/StringUtil.h"
#include "Core/HW/EXI/EXI_Device.h"
#include "Core/HW/EXI/EXI_DeviceEthernet.h"
namespace ExpansionInterface
{

View File

@ -1,6 +1,8 @@
// Copyright 2008 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/HW/EXI/EXI_DeviceEthernet.h"
#include <cstring>
#ifndef _WIN32
@ -10,7 +12,6 @@
#include "Common/Logging/Log.h"
#include "Common/StringUtil.h"
#include "Core/HW/EXI/EXI_Device.h"
#include "Core/HW/EXI/EXI_DeviceEthernet.h"
#ifdef __linux__
#include <fcntl.h>

View File

@ -2,12 +2,13 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/HW/EXI/BBA/TAP_Win32.h"
#include "Core/HW/EXI/EXI_DeviceEthernet.h"
#include "Common/Assert.h"
#include "Common/Logging/Log.h"
#include "Common/MsgHandler.h"
#include "Common/StringUtil.h"
#include "Core/HW/EXI/EXI_Device.h"
#include "Core/HW/EXI/EXI_DeviceEthernet.h"
namespace Win32TAPHelper
{

View File

@ -2,7 +2,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/HW/EXI/EXI_DeviceIPL.h"
#include "Core/HW/DVD/DVDInterface.h"
#include <cstring>
#include <string>

View File

@ -1,6 +1,8 @@
// Copyright 2021 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/HW/SI/SI_DeviceGBAEmu.h"
#include <vector>
#include "Common/ChunkFile.h"
@ -12,7 +14,6 @@
#include "Core/HW/GBACore.h"
#include "Core/HW/GBAPad.h"
#include "Core/HW/SI/SI.h"
#include "Core/HW/SI/SI_DeviceGBAEmu.h"
#include "Core/HW/SI/SI_DeviceGCController.h"
#include "Core/HW/SystemTimers.h"
#include "Core/Host.h"

View File

@ -2,9 +2,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/HW/SI/SI_DeviceNull.h"
#include "Common/Swap.h"
#include <cstring>
namespace SerialInterface
{

View File

@ -3,10 +3,10 @@
// Adapted from in_cube by hcs & destop
#include <algorithm>
#include "Core/HW/StreamADPCM.h"
#include <algorithm>
#include "Common/ChunkFile.h"
#include "Common/CommonTypes.h"

View File

@ -1,6 +1,8 @@
// Copyright 2010 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/HW/WiimoteEmu/WiimoteEmu.h"
#include <cmath>
#include <fstream>
#include <iterator>
@ -14,9 +16,8 @@
#include "Common/Swap.h"
#include "Core/Core.h"
#include "Core/DolphinAnalytics.h"
#include "Core/HW/Wiimote.h"
#include "Core/HW/WiimoteCommon/WiimoteHid.h"
#include "Core/HW/WiimoteEmu/WiimoteEmu.h"
#include "Core/HW/WiimoteReal/WiimoteReal.h"
#include "InputCommon/ControllerEmu/ControlGroup/Attachments.h"
namespace WiimoteEmu

View File

@ -1,6 +1,8 @@
// Copyright 2016 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/HW/WiimoteReal/IOAndroid.h"
#include <jni.h>
#include "Common/CommonTypes.h"
@ -11,8 +13,6 @@
#include "Common/Thread.h"
#include "Common/Timer.h"
#include "Core/HW/WiimoteReal/IOAndroid.h"
#include "jni/AndroidCommon/IDCache.h"
namespace WiimoteReal

View File

@ -1,6 +1,8 @@
// Copyright 2010 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/HW/WiimoteReal/IOLinux.h"
#include <bluetooth/bluetooth.h>
#include <bluetooth/hci.h>
#include <bluetooth/hci_lib.h>
@ -10,7 +12,6 @@
#include "Common/CommonTypes.h"
#include "Common/Logging/Log.h"
#include "Core/HW/WiimoteReal/IOLinux.h"
namespace WiimoteReal
{

View File

@ -1,6 +1,8 @@
// Copyright 2010 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/HW/WiimoteReal/IOWin.h"
#include <algorithm>
#include <cstdio>
#include <cstdlib>
@ -30,7 +32,6 @@
#include "Core/HW/WiimoteCommon/DataReport.h"
#include "Core/HW/WiimoteCommon/WiimoteConstants.h"
#include "Core/HW/WiimoteCommon/WiimoteReport.h"
#include "Core/HW/WiimoteReal/IOWin.h"
// Create func_t function pointer type and declare a nullptr-initialized static variable of that
// type named "pfunc".

View File

@ -1,13 +1,14 @@
// Copyright 2016 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/HW/WiimoteReal/IOhidapi.h"
#include <algorithm>
#include "Common/Assert.h"
#include "Common/Logging/Log.h"
#include "Common/StringUtil.h"
#include "Core/HW/WiimoteCommon/WiimoteHid.h"
#include "Core/HW/WiimoteReal/IOhidapi.h"
using namespace WiimoteCommon;
using namespace WiimoteReal;

View File

@ -1,6 +1,8 @@
// Copyright 2019 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/IOS/DolphinDevice.h"
#include <algorithm>
#include <cstring>
@ -16,7 +18,6 @@
#include "Core/ConfigManager.h"
#include "Core/Core.h"
#include "Core/HW/Memmap.h"
#include "Core/IOS/DolphinDevice.h"
namespace IOS::HLE
{

View File

@ -1,6 +1,8 @@
// Copyright 2017 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/IOS/ES/ES.h"
#include <algorithm>
#include <array>
#include <cctype>
@ -17,7 +19,6 @@
#include "Common/NandPaths.h"
#include "Common/ScopeGuard.h"
#include "Common/StringUtil.h"
#include "Core/IOS/ES/ES.h"
#include "Core/IOS/ES/Formats.h"
#include "Core/IOS/FS/FileSystemProxy.h"
#include "Core/IOS/Uids.h"

View File

@ -1,6 +1,8 @@
// Copyright 2008 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/IOS/FS/HostBackend/FS.h"
#include <algorithm>
#include <optional>
#include <string_view>
@ -17,7 +19,6 @@
#include "Common/StringUtil.h"
#include "Common/Swap.h"
#include "Core/IOS/ES/ES.h"
#include "Core/IOS/FS/HostBackend/FS.h"
#include "Core/IOS/IOS.h"
namespace IOS::HLE::FS

View File

@ -1,6 +1,8 @@
// Copyright 2018 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/IOS/FS/HostBackend/FS.h"
#include <algorithm>
#include <memory>
@ -9,8 +11,6 @@
#include "Common/Logging/Log.h"
#include "Common/MsgHandler.h"
#include "Core/IOS/FS/HostBackend/FS.h"
namespace IOS::HLE::FS
{
// This isn't theadsafe, but it's only called from the CPU thread.

View File

@ -1,6 +1,8 @@
// Copyright 2019 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/LibusbUtils.h"
#include <mutex>
#include <thread>
@ -11,7 +13,6 @@
#include "Common/Assert.h"
#include "Common/Flag.h"
#include "Common/Thread.h"
#include "Core/LibusbUtils.h"
namespace LibusbUtils
{

View File

@ -1,6 +1,8 @@
// Copyright 2015 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/MemoryWatcher.h"
#include <cstring>
#include <fstream>
#include <iostream>
@ -9,7 +11,6 @@
#include "Common/FileUtil.h"
#include "Core/HW/SystemTimers.h"
#include "Core/MemoryWatcher.h"
#include "Core/PowerPC/MMU.h"
MemoryWatcher::MemoryWatcher()

View File

@ -3,7 +3,10 @@
#pragma once
#include "Common/CommonTypes.h"
#include <map>
#include <string>
#include <sys/socket.h>
#include <sys/un.h>
#include <vector>

View File

@ -3,6 +3,8 @@
// Originally written by Sven Peter <sven@fail0verflow.com> for anergistic.
#include "Core/PowerPC/GDBStub.h"
#include <fmt/format.h>
#include <optional>
#include <signal.h>
@ -31,7 +33,6 @@ typedef SSIZE_T ssize_t;
#include "Core/HW/Memmap.h"
#include "Core/Host.h"
#include "Core/PowerPC/BreakPoints.h"
#include "Core/PowerPC/GDBStub.h"
#include "Core/PowerPC/Gekko.h"
#include "Core/PowerPC/PPCCache.h"
#include "Core/PowerPC/PowerPC.h"

View File

@ -1,12 +1,13 @@
// Copyright 2008 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/PowerPC/Interpreter/Interpreter.h"
#include "Common/Assert.h"
#include "Common/CommonTypes.h"
#include "Core/ConfigManager.h"
#include "Core/HLE/HLE.h"
#include "Core/PowerPC/Interpreter/ExceptionUtils.h"
#include "Core/PowerPC/Interpreter/Interpreter.h"
#include "Core/PowerPC/PowerPC.h"
void Interpreter::bx(UGeckoInstruction inst)

View File

@ -1,13 +1,14 @@
// Copyright 2008 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/PowerPC/Interpreter/Interpreter.h"
#include <cmath>
#include <limits>
#include "Common/CommonTypes.h"
#include "Common/FloatUtils.h"
#include "Core/PowerPC/Gekko.h"
#include "Core/PowerPC/Interpreter/Interpreter.h"
#include "Core/PowerPC/Interpreter/Interpreter_FPUtils.h"
#include "Core/PowerPC/PowerPC.h"

View File

@ -1,6 +1,8 @@
// Copyright 2008 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/PowerPC/Interpreter/Interpreter.h"
#include "Common/Assert.h"
#include "Common/CommonTypes.h"
#include "Common/Logging/Log.h"
@ -9,7 +11,6 @@
#include "Core/ConfigManager.h"
#include "Core/PowerPC/Interpreter/ExceptionUtils.h"
#include "Core/PowerPC/Interpreter/Interpreter.h"
#include "Core/PowerPC/Interpreter/Interpreter_FPUtils.h"
#include "Core/PowerPC/JitInterface.h"
#include "Core/PowerPC/MMU.h"

View File

@ -1,6 +1,8 @@
// Copyright 2008 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/PowerPC/Interpreter/Interpreter.h"
#include <algorithm>
#include <tuple>
#include <type_traits>
@ -11,7 +13,6 @@
#include "Common/CommonTypes.h"
#include "Common/MathUtil.h"
#include "Core/PowerPC/Interpreter/ExceptionUtils.h"
#include "Core/PowerPC/Interpreter/Interpreter.h"
#include "Core/PowerPC/Interpreter/Interpreter_FPUtils.h"
#include "Core/PowerPC/MMU.h"
#include "Core/PowerPC/PowerPC.h"

View File

@ -1,11 +1,12 @@
// Copyright 2008 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/PowerPC/Interpreter/Interpreter.h"
#include <cmath>
#include "Common/CommonTypes.h"
#include "Common/FloatUtils.h"
#include "Core/PowerPC/Interpreter/Interpreter.h"
#include "Core/PowerPC/Interpreter/Interpreter_FPUtils.h"
#include "Core/PowerPC/PowerPC.h"

View File

@ -1,10 +1,11 @@
// Copyright 2008 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/PowerPC/Interpreter/Interpreter.h"
#include <array>
#include "Core/PowerPC/Gekko.h"
#include "Core/PowerPC/Interpreter/Interpreter.h"
#include "Core/PowerPC/PPCTables.h"
namespace

View File

@ -1,10 +1,11 @@
// Copyright 2009 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/PowerPC/Jit64/Jit.h"
#include <array>
#include "Core/PowerPC/Gekko.h"
#include "Core/PowerPC/Jit64/Jit.h"
namespace
{

View File

@ -1,12 +1,13 @@
// Copyright 2008 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/PowerPC/Jit64/Jit.h"
#include "Common/Assert.h"
#include "Common/CommonTypes.h"
#include "Common/x64Emitter.h"
#include "Core/CoreTiming.h"
#include "Core/PowerPC/Gekko.h"
#include "Core/PowerPC/Jit64/Jit.h"
#include "Core/PowerPC/Jit64/RegCache/JitRegCache.h"
#include "Core/PowerPC/Jit64Common/Jit64PowerPCState.h"
#include "Core/PowerPC/PPCAnalyst.h"

View File

@ -1,6 +1,8 @@
// Copyright 2008 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/PowerPC/Jit64/Jit.h"
#include <algorithm>
#include <cmath>
#include <limits>
@ -14,7 +16,6 @@
#include "Core/Config/SessionSettings.h"
#include "Core/ConfigManager.h"
#include "Core/Core.h"
#include "Core/PowerPC/Jit64/Jit.h"
#include "Core/PowerPC/Jit64/RegCache/JitRegCache.h"
#include "Core/PowerPC/Jit64Common/Jit64PowerPCState.h"
#include "Core/PowerPC/PPCAnalyst.h"

View File

@ -1,6 +1,8 @@
// Copyright 2008 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/PowerPC/Jit64/Jit.h"
#include <array>
#include <limits>
#include <vector>
@ -14,7 +16,6 @@
#include "Core/CoreTiming.h"
#include "Core/PowerPC/Interpreter/ExceptionUtils.h"
#include "Core/PowerPC/Jit64/Jit.h"
#include "Core/PowerPC/Jit64/RegCache/JitRegCache.h"
#include "Core/PowerPC/Jit64Common/Jit64PowerPCState.h"
#include "Core/PowerPC/JitCommon/DivUtils.h"

View File

@ -1,10 +1,11 @@
// Copyright 2008 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "Core/PowerPC/Jit64/Jit.h"
#include "Common/BitSet.h"
#include "Common/CommonTypes.h"
#include "Common/x64Emitter.h"
#include "Core/PowerPC/Jit64/Jit.h"
#include "Core/PowerPC/Jit64/RegCache/JitRegCache.h"
#include "Core/PowerPC/Jit64Common/Jit64PowerPCState.h"

Some files were not shown because too many files have changed in this diff Show More