Global: Reduce includes of common headers.

In many places, string, map, or Common.h were included but not needed.
This commit is contained in:
Unknown W. Brackets 2022-01-30 15:49:02 -08:00
parent 3df6cb704f
commit 2479d52202
162 changed files with 144 additions and 185 deletions

View File

@ -18,7 +18,6 @@
#pragma once #pragma once
#include "ppsspp_config.h" #include "ppsspp_config.h"
#include "Common.h"
// x86/x64 ABI:s, and helpers to help follow them when JIT-ing code. // x86/x64 ABI:s, and helpers to help follow them when JIT-ing code.
// All convensions return values in EAX (+ possibly EDX). // All convensions return values in EAX (+ possibly EDX).

View File

@ -9,7 +9,7 @@
#include "Common/ArmCommon.h" #include "Common/ArmCommon.h"
#include "Common/BitSet.h" #include "Common/BitSet.h"
#include "Common/CodeBlock.h" #include "Common/CodeBlock.h"
#include "Common/Common.h" #include "Common/CommonTypes.h"
#include "Common/Log.h" #include "Common/Log.h"
#define DYNA_REC JIT #define DYNA_REC JIT

View File

@ -28,7 +28,7 @@
#include <ctype.h> #include <ctype.h>
#include "Common/Common.h" #include "Common/CommonTypes.h"
#include "Common/CPUDetect.h" #include "Common/CPUDetect.h"
#include "Common/StringUtils.h" #include "Common/StringUtils.h"
#include "Common/File/FileUtil.h" #include "Common/File/FileUtil.h"

View File

@ -20,7 +20,7 @@
#include <vector> #include <vector>
#include <cstdint> #include <cstdint>
#include "Common/Common.h" #include "Common/CommonTypes.h"
#include "Common/Log.h" #include "Common/Log.h"
#include "Common/ArmCommon.h" #include "Common/ArmCommon.h"
#include "Common/CodeBlock.h" #include "Common/CodeBlock.h"

View File

@ -34,7 +34,7 @@
#include "ppsspp_config.h" #include "ppsspp_config.h"
#include "Common/Thread/ThreadUtil.h" #include "Common/Thread/ThreadUtil.h"
#include "Common/Data/Encoding/Utf8.h" #include "Common/Data/Encoding/Utf8.h"
#include "Common/Common.h" #include "Common/CommonTypes.h"
#include "Common/ConsoleListener.h" #include "Common/ConsoleListener.h"
#include "Common/StringUtils.h" #include "Common/StringUtils.h"

View File

@ -1,5 +1,7 @@
#pragma once #pragma once
#include <map>
template <typename T, typename U> template <typename T, typename U>
class InitConstMap class InitConstMap
{ {

View File

@ -24,7 +24,7 @@
#include <arm_neon.h> #include <arm_neon.h>
#endif #endif
#include "Common/Data/Convert/ColorConvNEON.h" #include "Common/Data/Convert/ColorConvNEON.h"
#include "Common/Common.h" #include "Common/CommonTypes.h"
#include "Common/CPUDetect.h" #include "Common/CPUDetect.h"
// TODO: More NEON color conversion funcs. // TODO: More NEON color conversion funcs.

View File

@ -1,7 +1,8 @@
#include "Common/Data/Format/JSONReader.h"
#include "Common/File/VFS/VFS.h" #include "Common/File/VFS/VFS.h"
#include "Common/File/Path.h" #include "Common/File/Path.h"
#include "Common/File/FileUtil.h" #include "Common/File/FileUtil.h"
#include "Common/Data/Format/JSONReader.h" #include "Common/Log.h"
namespace json { namespace json {
@ -21,6 +22,17 @@ JsonReader::JsonReader(const std::string &filename) {
} }
} }
bool JsonReader::parse() {
char *error_pos;
int status = jsonParse(buffer_, &error_pos, &root_, alloc_);
if (status != JSON_OK) {
ERROR_LOG(IO, "Error at (%i): %s\n%s\n\n", (int)(error_pos - buffer_), jsonStrError(status), error_pos);
return false;
}
ok_ = true;
return true;
}
int JsonGet::numChildren() const { int JsonGet::numChildren() const {
int count = 0; int count = 0;
if (value_.getTag() == JSON_OBJECT || value_.getTag() == JSON_ARRAY) { if (value_.getTag() == JSON_OBJECT || value_.getTag() == JSON_ARRAY) {

View File

@ -4,7 +4,6 @@
#include "ext/gason/gason.h" #include "ext/gason/gason.h"
#include "Common/Common.h" #include "Common/Common.h"
#include "Common/Log.h"
namespace json { namespace json {
@ -69,16 +68,7 @@ public:
const JsonValue rootValue() const { return root_; } const JsonValue rootValue() const { return root_; }
private: private:
bool parse() { bool parse();
char *error_pos;
int status = jsonParse(buffer_, &error_pos, &root_, alloc_);
if (status != JSON_OK) {
ERROR_LOG(IO, "Error at (%i): %s\n%s\n\n", (int)(error_pos - buffer_), jsonStrError(status), error_pos);
return false;
}
ok_ = true;
return true;
}
char *buffer_ = nullptr; char *buffer_ = nullptr;
JsonAllocator alloc_; JsonAllocator alloc_;

View File

@ -9,7 +9,6 @@
// OR it contains ONLY other chunks // OR it contains ONLY other chunks
// otherwise the scheme breaks. // otherwise the scheme breaks.
#include <string>
#include <cstdint> #include <cstdint>
class RIFFReader { class RIFFReader {

View File

@ -12,7 +12,6 @@
#include <memory> #include <memory>
#include <mutex> #include <mutex>
#include <string> #include <string>
#include <vector>
#include "Common/Common.h" #include "Common/Common.h"
#include "Common/File/Path.h" #include "Common/File/Path.h"

View File

@ -31,7 +31,7 @@
#include <cstring> #include <cstring>
#include <memory> #include <memory>
#include "Common.h" #include "Common/CommonTypes.h"
#include "CPUDetect.h" #include "CPUDetect.h"
#include "StringUtils.h" #include "StringUtils.h"

View File

@ -20,10 +20,9 @@
#ifndef _DOLPHIN_FAKE_CODEGEN_ #ifndef _DOLPHIN_FAKE_CODEGEN_
#define _DOLPHIN_FAKE_CODEGEN_ #define _DOLPHIN_FAKE_CODEGEN_
#include <vector>
#include <stdint.h> #include <stdint.h>
#include "Common.h" #include "Common/CommonTypes.h"
#include "Common/CodeBlock.h" #include "Common/CodeBlock.h"
// VCVT flags // VCVT flags

View File

@ -17,7 +17,7 @@
#endif #endif
#include <fcntl.h> #include <fcntl.h>
#include "Common/Common.h" #include "Common/CommonTypes.h"
#include "Common/Data/Encoding/Utf8.h" #include "Common/Data/Encoding/Utf8.h"
#include "Common/File/FileDescriptor.h" #include "Common/File/FileDescriptor.h"
#include "Common/Log.h" #include "Common/Log.h"

View File

@ -20,11 +20,9 @@
#include <fstream> #include <fstream>
#include <cstdio> #include <cstdio>
#include <string> #include <string>
#include <vector>
#include <time.h> #include <time.h>
#include <cstdint> #include <cstdint>
#include "Common/Common.h"
#include "Common/File/Path.h" #include "Common/File/Path.h"
// Some functions here support Android content URIs. These are marked as such. // Some functions here support Android content URIs. These are marked as such.

View File

@ -15,6 +15,7 @@
#include "Common/Log.h" #include "Common/Log.h"
#include "Common/Thread/ThreadUtil.h" #include "Common/Thread/ThreadUtil.h"
#include "Core/Config.h"
#include "Core/System.h" #include "Core/System.h"
#if PPSSPP_PLATFORM(ANDROID) #if PPSSPP_PLATFORM(ANDROID)

View File

@ -3,7 +3,6 @@
#pragma once #pragma once
#include <map>
#include <string> #include <string>
#include <time.h> #include <time.h>

View File

@ -4,6 +4,7 @@
#include "Common/GPU/Shader.h" #include "Common/GPU/Shader.h"
#include "Common/GPU/ShaderWriter.h" #include "Common/GPU/ShaderWriter.h"
#include "Common/Log.h"
const char *vulkan_glsl_preamble_fs = const char *vulkan_glsl_preamble_fs =
"#version 450\n" "#version 450\n"

View File

@ -2,7 +2,6 @@
#include <cstring> #include <cstring>
#include "Common/Log.h"
#include "Common/GPU/Shader.h" #include "Common/GPU/Shader.h"
#include "GPU/ge_constants.h" #include "GPU/ge_constants.h"
#include "GPU/GPUCommon.h" #include "GPU/GPUCommon.h"

View File

@ -5,7 +5,6 @@
#include <vector> #include <vector>
#include <unordered_map> #include <unordered_map>
#include "Common/Log.h"
#include "Common/GPU/Vulkan/VulkanContext.h" #include "Common/GPU/Vulkan/VulkanContext.h"
// Forward declaration // Forward declaration

View File

@ -3,7 +3,6 @@
#include <vector> #include <vector>
#include <string> #include <string>
#include "Common/Log.h"
#include "VulkanLoader.h" #include "VulkanLoader.h"
// Simple scoped based profiler, initially meant for instant one-time tasks like texture uploads // Simple scoped based profiler, initially meant for instant one-time tasks like texture uploads

View File

@ -1,3 +1,4 @@
#include <cstdint>
#include "Common/Input/InputState.h" #include "Common/Input/InputState.h"
#include "Common/Math/geom2d.h" #include "Common/Math/geom2d.h"

View File

@ -3,8 +3,6 @@
// For more detailed and configurable input, implement NativeTouch, NativeKey and NativeAxis and do your // For more detailed and configurable input, implement NativeTouch, NativeKey and NativeAxis and do your
// own mapping. Might later move the mapping system from PPSSPP to native. // own mapping. Might later move the mapping system from PPSSPP to native.
#include <map>
#include <mutex>
#include <unordered_map> #include <unordered_map>
#include <vector> #include <vector>

View File

@ -19,7 +19,7 @@
#include "ppsspp_config.h" #include "ppsspp_config.h"
#include "Common.h" #include "Common/CommonTypes.h"
#include "Common/Log.h" #include "Common/Log.h"
#include "StringUtils.h" #include "StringUtils.h"
#include "Common/Data/Encoding/Utf8.h" #include "Common/Data/Encoding/Utf8.h"

View File

@ -4,8 +4,6 @@
#include "Common/Math/math_util.h" #include "Common/Math/math_util.h"
#include "curves.h" #include "curves.h"
#include "Common/Common.h"
float linearInOut(int t, int fadeInLength, int solidLength, int fadeOutLength) { float linearInOut(int t, int fadeInLength, int solidLength, int fadeOutLength) {
if (t < 0) return 0; if (t < 0) return 0;
if (t < fadeInLength) { if (t < fadeInLength) {

View File

@ -25,7 +25,7 @@
#include <mach/mach.h> #include <mach/mach.h>
#endif #endif
#include "Common.h" #include "Common/CommonTypes.h"
// This class lets you create a block of anonymous RAM, and then arbitrarily map views into it. // This class lets you create a block of anonymous RAM, and then arbitrarily map views into it.
// Multiple views can mirror the same section of the block, which makes it very convient for emulating // Multiple views can mirror the same section of the block, which makes it very convient for emulating

View File

@ -19,7 +19,6 @@
#if defined(__APPLE__) #if defined(__APPLE__)
#include <string>
#include <cstdint> #include <cstdint>
#include <sys/stat.h> #include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>

View File

@ -20,7 +20,7 @@
#include <cstring> #include <cstring>
#include <cstdlib> #include <cstdlib>
#include "Common/Common.h" #include "Common/CommonTypes.h"
#include "Common/Log.h" #include "Common/Log.h"
#include "Common/MemoryUtil.h" #include "Common/MemoryUtil.h"
#include "Common/StringUtils.h" #include "Common/StringUtils.h"

View File

@ -18,7 +18,7 @@
#include "ppsspp_config.h" #include "ppsspp_config.h"
#if PPSSPP_ARCH(MIPS) || PPSSPP_ARCH(MIPS64) #if PPSSPP_ARCH(MIPS) || PPSSPP_ARCH(MIPS64)
#include "Common/Common.h" #include "Common/CommonTypes.h"
#include "Common/CPUDetect.h" #include "Common/CPUDetect.h"
#include "Common/StringUtils.h" #include "Common/StringUtils.h"
#include "Common/File/FileUtil.h" #include "Common/File/FileUtil.h"

View File

@ -18,11 +18,10 @@
#pragma once #pragma once
#include <functional> #include <functional>
#include <vector>
#include <stdint.h> #include <stdint.h>
#include "Common/CodeBlock.h" #include "Common/CodeBlock.h"
#include "Common/Common.h" #include "Common/CommonTypes.h"
namespace MIPSGen { namespace MIPSGen {

View File

@ -2,8 +2,6 @@
#include <algorithm> #include <algorithm>
#include <mutex> #include <mutex>
#include <map>
#include <string>
#include <vector> #include <vector>
#include <cstring> #include <cstring>

View File

@ -41,7 +41,6 @@
#include <algorithm> #include <algorithm>
#include <iomanip> #include <iomanip>
#include "Common/Common.h"
#include "Common/Buffer.h" #include "Common/Buffer.h"
#include "Common/StringUtils.h" #include "Common/StringUtils.h"

View File

@ -17,8 +17,8 @@
#pragma once #pragma once
#include "Common.h" #include <cstdarg>
#include <cstdint>
#include <string> #include <string>
#include <vector> #include <vector>

View File

@ -4,7 +4,6 @@
#include "Common/Thread/Channel.h" #include "Common/Thread/Channel.h"
#include "Common/Thread/ThreadManager.h" #include "Common/Thread/ThreadManager.h"
#include "Common/Log.h"
template<class T> template<class T>
class PromiseTask : public Task { class PromiseTask : public Task {

View File

@ -19,8 +19,8 @@
#include <map> #include <map>
#include "Common.h" #include "Common/CommonTypes.h"
#include "x64Emitter.h" #include "Common/x64Emitter.h"
// This simple class creates a wrapper around a C/C++ function that saves all fp state // This simple class creates a wrapper around a C/C++ function that saves all fp state
// before entering it, and restores it upon exit. This is required to be able to selectively // before entering it, and restores it upon exit. This is required to be able to selectively

View File

@ -1,14 +1,10 @@
// See header for documentation. // See header for documentation.
#include <string>
#include <vector>
#include <cmath> #include <cmath>
#include <cstring> #include <cstring>
#include "Common/Data/Color/RGBAUtil.h"
#include "Common/UI/UI.h" #include "Common/UI/UI.h"
#include "Common/UI/Context.h" #include "Common/UI/Context.h"
#include "Common/Render/TextureAtlas.h"
#include "Common/Render/DrawBuffer.h" #include "Common/Render/DrawBuffer.h"
// TODO: UI should probably not own these. // TODO: UI should probably not own these.

View File

@ -17,7 +17,7 @@
#pragma once #pragma once
#include "Common.h" #include "Common/CommonTypes.h"
struct LSInstructionInfo struct LSInstructionInfo
{ {

View File

@ -22,7 +22,7 @@
#include <cstddef> #include <cstddef>
#include <cstring> #include <cstring>
#include "Common/Common.h" #include "Common/CommonTypes.h"
#include "Common/Log.h" #include "Common/Log.h"
#include "Common/CodeBlock.h" #include "Common/CodeBlock.h"

View File

@ -20,7 +20,6 @@
#include <string> #include <string>
#include "Core/Compatibility.h" #include "Core/Compatibility.h"
#include "Core/Config.h"
enum GPUCore { enum GPUCore {
GPUCORE_GLES, GPUCORE_GLES,

View File

@ -16,6 +16,7 @@
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/. // https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
#include <atomic> #include <atomic>
#include <climits>
#include <cstdio> #include <cstdio>
#include <cstring> #include <cstring>
#include <mutex> #include <mutex>

View File

@ -15,6 +15,7 @@
// Official git repository and contact information can be found at // Official git repository and contact information can be found at
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/. // https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
#include "Core/Config.h"
#include "Core/Debugger/WebSocket/GameSubscriber.h" #include "Core/Debugger/WebSocket/GameSubscriber.h"
#include "Core/Debugger/WebSocket/WebSocketUtils.h" #include "Core/Debugger/WebSocket/WebSocketUtils.h"
#include "Core/ELF/ParamSFO.h" #include "Core/ELF/ParamSFO.h"

View File

@ -17,7 +17,6 @@
#pragma once #pragma once
#include "Common/Common.h"
#include "Common/CommonTypes.h" #include "Common/CommonTypes.h"
#include "Common/Render/TextureAtlas.h" #include "Common/Render/TextureAtlas.h"
#include "Common/Swap.h" #include "Common/Swap.h"

View File

@ -16,7 +16,7 @@
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/. // https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
#include <algorithm> #include <algorithm>
#include "Common/Common.h" #include "Common/CommonTypes.h"
#include "Common/Serialize/Serializer.h" #include "Common/Serialize/Serializer.h"
#include "Common/Serialize/SerializeFuncs.h" #include "Common/Serialize/SerializeFuncs.h"
#include "Core/ELF/ParamSFO.h" #include "Core/ELF/ParamSFO.h"

View File

@ -15,10 +15,9 @@
// Official git repository and contact information can be found at // Official git repository and contact information can be found at
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/. // https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
#if defined(_WIN32) #include <algorithm>
#include "Common/CommonWindows.h" #include "Common/CommonWindows.h"
#endif #include "Common/TimeUtil.h"
#include <TimeUtil.h>
#include "Common/Data/Text/I18n.h" #include "Common/Data/Text/I18n.h"
#include "Common/Serialize/Serializer.h" #include "Common/Serialize/Serializer.h"
#include "Common/Serialize/SerializeFuncs.h" #include "Common/Serialize/SerializeFuncs.h"

View File

@ -17,7 +17,7 @@
#pragma once #pragma once
#include "Common/Common.h" #include "Common/CommonTypes.h"
#include "Common/Swap.h" #include "Common/Swap.h"
/////////////////////// ///////////////////////

View File

@ -18,7 +18,8 @@
#pragma once #pragma once
#include "Common/Common.h" #include <vector>
#include "Common/CommonTypes.h"
#include "Common/Swap.h" #include "Common/Swap.h"
enum PBPSubFile { enum PBPSubFile {

View File

@ -21,7 +21,7 @@
#include <map> #include <map>
#include <mutex> #include <mutex>
#include "Common/Common.h" #include "Common/CommonTypes.h"
#include "Common/File/Path.h" #include "Common/File/Path.h"
#include "Common/Swap.h" #include "Common/Swap.h"
#include "Core/Loaders.h" #include "Core/Loaders.h"

View File

@ -17,7 +17,6 @@
#include <algorithm> #include <algorithm>
#include "Common/Common.h"
#include "Common/Log.h" #include "Common/Log.h"
#include "Common/StringUtils.h" #include "Common/StringUtils.h"
#include "Core/Config.h" #include "Core/Config.h"

View File

@ -20,7 +20,6 @@
#include <ctype.h> #include <ctype.h>
#include <algorithm> #include <algorithm>
#include "Common/Common.h"
#include "Common/CommonTypes.h" #include "Common/CommonTypes.h"
#include "Common/Serialize/Serializer.h" #include "Common/Serialize/Serializer.h"
#include "Common/Serialize/SerializeFuncs.h" #include "Common/Serialize/SerializeFuncs.h"

View File

@ -15,7 +15,7 @@
// Official git repository and contact information can be found at // Official git repository and contact information can be found at
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/. // https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
#include "Common.h" #include "Common/CommonFuncs.h"
#include "Core/HDRemaster.h" #include "Core/HDRemaster.h"
bool g_RemasterMode; bool g_RemasterMode;

View File

@ -20,7 +20,7 @@
#include <map> #include <map>
#include <unordered_map> #include <unordered_map>
#include "Common/Common.h" #include "Common/CommonTypes.h"
#include "Common/Data/Convert/SmallDataConvert.h" #include "Common/Data/Convert/SmallDataConvert.h"
#include "Common/Log.h" #include "Common/Log.h"
#include "Common/Swap.h" #include "Common/Swap.h"

View File

@ -18,7 +18,7 @@
#include <atomic> #include <atomic>
#include <mutex> #include <mutex>
#include "Common/CommonTypes.h" #include "Common/Common.h"
#include "Common/File/Path.h" #include "Common/File/Path.h"
#include "Common/Serialize/Serializer.h" #include "Common/Serialize/Serializer.h"
#include "Common/Serialize/SerializeFuncs.h" #include "Common/Serialize/SerializeFuncs.h"

View File

@ -51,6 +51,7 @@
#define TCP_MAXSEG 2 #define TCP_MAXSEG 2
#endif // defined(HAVE_LIBNX) || PPSSPP_PLATFORM(SWITCH) #endif // defined(HAVE_LIBNX) || PPSSPP_PLATFORM(SWITCH)
#include <algorithm>
#include <mutex> #include <mutex>
#include <cstring> #include <cstring>
@ -60,6 +61,7 @@
#include "Common/Serialize/SerializeFuncs.h" #include "Common/Serialize/SerializeFuncs.h"
#include "Common/TimeUtil.h" #include "Common/TimeUtil.h"
#include "Core/Config.h"
#include "Core/Core.h" #include "Core/Core.h"
#include "Core/Host.h" #include "Core/Host.h"
#include "Core/HLE/sceKernelInterrupt.h" #include "Core/HLE/sceKernelInterrupt.h"

View File

@ -38,14 +38,14 @@
#define PACK __attribute__((packed)) #define PACK __attribute__((packed))
#endif #endif
#include <thread>
#include <mutex>
#include <atomic> #include <atomic>
#include <climits>
#include <mutex>
#include <thread>
#include "Common/Net/Resolve.h" #include "Common/Net/Resolve.h"
#include "Common/Serialize/Serializer.h" #include "Common/Serialize/Serializer.h"
#include "Core/Config.h"
#include "Core/CoreTiming.h" #include "Core/CoreTiming.h"
#include "Core/MemMap.h" #include "Core/MemMap.h"
#include "Core/HLE/HLE.h" #include "Core/HLE/HLE.h"

View File

@ -17,8 +17,6 @@
#pragma once #pragma once
#include <string>
class PointerWrap; class PointerWrap;
class KernelObject; class KernelObject;
@ -27,6 +25,7 @@ void __IoDoState(PointerWrap &p);
void __IoShutdown(); void __IoShutdown();
struct ScePspDateTime; struct ScePspDateTime;
struct tm;
u32 sceIoIoctl(u32 id, u32 cmd, u32 indataPtr, u32 inlen, u32 outdataPtr, u32 outlen); u32 sceIoIoctl(u32 id, u32 cmd, u32 indataPtr, u32 inlen, u32 outdataPtr, u32 outlen);

View File

@ -18,7 +18,7 @@
#include <algorithm> #include <algorithm>
#include "ext/jpge/jpgd.h" #include "ext/jpge/jpgd.h"
#include "Common/Common.h" #include "Common/CommonTypes.h"
#include "Common/Serialize/Serializer.h" #include "Common/Serialize/Serializer.h"
#include "Common/Serialize/SerializeFuncs.h" #include "Common/Serialize/SerializeFuncs.h"
#include "Core/HLE/HLE.h" #include "Core/HLE/HLE.h"

View File

@ -20,7 +20,7 @@
#include <map> #include <map>
#include <string> #include <string>
#include "Common/Common.h" #include "Common/CommonTypes.h"
#include "Common/Log.h" #include "Common/Log.h"
#include "Common/Swap.h" #include "Common/Swap.h"

View File

@ -17,7 +17,7 @@
#pragma once #pragma once
#include "Common/Common.h" #include "Common/CommonTypes.h"
#include "Common/Swap.h" #include "Common/Swap.h"
class PointerWrap; class PointerWrap;

View File

@ -35,6 +35,7 @@
// This is a direct port of Coldbird's code from http://code.google.com/p/aemu/ // This is a direct port of Coldbird's code from http://code.google.com/p/aemu/
// All credit goes to him! // All credit goes to him!
#include "Core/Config.h"
#include "Core/Core.h" #include "Core/Core.h"
#include "Core/Host.h" #include "Core/Host.h"
#include "Core/Reporting.h" #include "Core/Reporting.h"

View File

@ -17,7 +17,8 @@
#pragma once #pragma once
#include "Common/Common.h" #include "Common/CommonTypes.h"
#include "Common/Swap.h"
class PointerWrap; class PointerWrap;

View File

@ -17,9 +17,6 @@
#pragma once #pragma once
#include <algorithm>
#include <map>
class PointerWrap; class PointerWrap;
// Valid values for PSP_SYSTEMPARAM_ID_INT_LANGUAGE // Valid values for PSP_SYSTEMPARAM_ID_INT_LANGUAGE

View File

@ -19,7 +19,6 @@
#include "ppsspp_config.h" #include "ppsspp_config.h"
#include "Core/HLE/sceUsbCam.h" #include "Core/HLE/sceUsbCam.h"
#include "Log.h"
#include "ext/jpge/jpgd.h" #include "ext/jpge/jpgd.h"
#include "ext/jpge/jpge.h" #include "ext/jpge/jpge.h"

View File

@ -19,7 +19,7 @@
#include <cmath> #include <cmath>
#include <mutex> #include <mutex>
#include <vector> #include <vector>
#include "Common/Common.h" #include "Common/CommonTypes.h"
#include "Common/Serialize/SerializeFuncs.h" #include "Common/Serialize/SerializeFuncs.h"
#include "Common/System/System.h" #include "Common/System/System.h"
#include "Common/TimeUtil.h" #include "Common/TimeUtil.h"

View File

@ -21,6 +21,7 @@
#include <thread> #include <thread>
#include "Common/Serialize/Serializer.h" #include "Common/Serialize/Serializer.h"
#include "Common/Serialize/SerializeFuncs.h" #include "Common/Serialize/SerializeFuncs.h"
#include "Core/Config.h"
#include "Core/CoreTiming.h" #include "Core/CoreTiming.h"
#include "Core/Compatibility.h" #include "Core/Compatibility.h"
#include "Core/FileSystems/MetaFileSystem.h" #include "Core/FileSystems/MetaFileSystem.h"

View File

@ -36,6 +36,7 @@
#include <cstring> #include <cstring>
#include <atomic> #include <atomic>
#include "Common/Common.h"
#include "Common/System/System.h" #include "Common/System/System.h"
#include "Common/Math/math_util.h" #include "Common/Math/math_util.h"
#include "Common/Serialize/Serializer.h" #include "Common/Serialize/Serializer.h"

View File

@ -24,6 +24,7 @@
#include "Common/Serialize/Serializer.h" #include "Common/Serialize/Serializer.h"
#include "Common/StringUtils.h" #include "Common/StringUtils.h"
#include "Core/Config.h"
#include "Core/Core.h" #include "Core/Core.h"
#include "Core/CoreTiming.h" #include "Core/CoreTiming.h"
#include "Core/HLE/sceKernelMemory.h" #include "Core/HLE/sceKernelMemory.h"

View File

@ -20,7 +20,7 @@
#include <cstring> #include <cstring>
#include <unordered_map> #include <unordered_map>
#include "Common/Common.h" #include "Common/CommonTypes.h"
#include "Common/CPUDetect.h" #include "Common/CPUDetect.h"
#include "Core/MIPS/JitCommon/JitBlockCache.h" #include "Core/MIPS/JitCommon/JitBlockCache.h"
#include "Core/MIPS/JitCommon/JitCommon.h" #include "Core/MIPS/JitCommon/JitCommon.h"

View File

@ -20,7 +20,7 @@
#include <algorithm> #include <algorithm>
#include "ext/xxhash.h" #include "ext/xxhash.h"
#include "Common.h" #include "Common/CommonTypes.h"
#include "Common/Profiler/Profiler.h" #include "Common/Profiler/Profiler.h"
#ifdef _WIN32 #ifdef _WIN32

View File

@ -21,7 +21,6 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include "Common/Common.h"
#include "Common/CommonTypes.h" #include "Common/CommonTypes.h"
#include "Core/MIPS/MIPS.h" #include "Core/MIPS/MIPS.h"

View File

@ -18,7 +18,7 @@
#pragma once #pragma once
#include "Common/Common.h" #include "Common/CommonTypes.h"
#include "Common/Log.h" #include "Common/Log.h"
#include "Core/MIPS/MIPS.h" #include "Core/MIPS/MIPS.h"

View File

@ -21,7 +21,7 @@
#include "Common/Math/math_util.h" #include "Common/Math/math_util.h"
#include "Common.h" #include "Common/CommonTypes.h"
#include "Common/Serialize/Serializer.h" #include "Common/Serialize/Serializer.h"
#include "Common/Serialize/SerializeFuncs.h" #include "Common/Serialize/SerializeFuncs.h"
#include "Core/ConfigValues.h" #include "Core/ConfigValues.h"

View File

@ -22,9 +22,7 @@
#include <cstddef> #include <cstddef>
#include "Common/Data/Random/Rng.h" #include "Common/Data/Random/Rng.h"
#include "Common/Common.h"
#include "Common/CommonTypes.h" #include "Common/CommonTypes.h"
// #include "Core/CoreParameter.h"
#include "Core/Opcode.h" #include "Core/Opcode.h"
class PointerWrap; class PointerWrap;

View File

@ -22,7 +22,7 @@
#include "Common/BitSet.h" #include "Common/BitSet.h"
#include "Common/BitScan.h" #include "Common/BitScan.h"
#include "Common/Common.h" #include "Common/CommonTypes.h"
#include "Core/Config.h" #include "Core/Config.h"
#include "Core/Core.h" #include "Core/Core.h"
#include "Core/Host.h" #include "Core/Host.h"

View File

@ -21,7 +21,7 @@
#include <algorithm> #include <algorithm>
#include "Common/BitSet.h" #include "Common/BitSet.h"
#include "Common/Common.h" #include "Common/CommonTypes.h"
#include "Core/MIPS/MIPSCodeUtils.h" #include "Core/MIPS/MIPSCodeUtils.h"
#include "Core/MIPS/x86/Jit.h" #include "Core/MIPS/x86/Jit.h"
#include "Core/MIPS/x86/RegCache.h" #include "Core/MIPS/x86/RegCache.h"

View File

@ -20,7 +20,7 @@
#include "Core/Config.h" #include "Core/Config.h"
#include "Core/MemMap.h" #include "Core/MemMap.h"
#include "Common/Common.h" #include "Common/CommonTypes.h"
#include "Core/MIPS/MIPS.h" #include "Core/MIPS/MIPS.h"
#include "Core/MIPS/MIPSCodeUtils.h" #include "Core/MIPS/MIPSCodeUtils.h"
#include "Core/MIPS/x86/Jit.h" #include "Core/MIPS/x86/Jit.h"

View File

@ -33,6 +33,7 @@
#endif #endif
#include "Common/Log.h" #include "Common/Log.h"
#include "Core/Config.h"
#include "Core/Core.h" #include "Core/Core.h"
#include "Core/MemFault.h" #include "Core/MemFault.h"
#include "Core/MemMap.h" #include "Core/MemMap.h"

View File

@ -25,8 +25,6 @@
#include <stddef.h> #include <stddef.h>
#endif #endif
// Includes
#include "Common/Common.h"
#include "Common/CommonTypes.h" #include "Common/CommonTypes.h"
#include "Common/Swap.h" #include "Common/Swap.h"
#include "Core/Opcode.h" #include "Core/Opcode.h"

View File

@ -15,7 +15,7 @@
// Official git repository and contact information can be found at // Official git repository and contact information can be found at
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/. // https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
#include "Common/Common.h" #include "Common/CommonTypes.h"
#include "Core/Core.h" #include "Core/Core.h"
#include "Core/MemMap.h" #include "Core/MemMap.h"

View File

@ -26,7 +26,7 @@
#include <ctime> #include <ctime>
#include <vector> #include <vector>
#include "Common/Common.h" #include "Common/CommonTypes.h"
#include "Common/Log.h" #include "Common/Log.h"
#include "Common/File/FileUtil.h" #include "Common/File/FileUtil.h"
#include "Common/StringUtils.h" #include "Common/StringUtils.h"

View File

@ -18,7 +18,6 @@
#pragma once #pragma once
#include <cstdint> #include <cstdint>
#include <string>
#include <vector> #include <vector>
#include "Common/File/Path.h" #include "Common/File/Path.h"

View File

@ -17,12 +17,11 @@
#pragma once #pragma once
#include <map>
#include <string> #include <string>
#include <unordered_map> #include <unordered_map>
#include <vector> #include <vector>
#include "Common/Common.h" #include "Common/CommonTypes.h"
#include "Common/MemoryUtil.h" #include "Common/MemoryUtil.h"
#include "Common/File/Path.h" #include "Common/File/Path.h"

View File

@ -23,7 +23,7 @@
#else #else
#include <arm_neon.h> #include <arm_neon.h>
#endif #endif
#include "Common/Common.h" #include "Common/CommonTypes.h"
#include "Core/Util/AudioFormat.h" #include "Core/Util/AudioFormat.h"
#include "Core/Util/AudioFormatNEON.h" #include "Core/Util/AudioFormatNEON.h"

View File

@ -28,6 +28,7 @@
#include "Common/Serialize/Serializer.h" #include "Common/Serialize/Serializer.h"
#include "Common/Serialize/SerializeFuncs.h" #include "Common/Serialize/SerializeFuncs.h"
#include "Common/StringUtils.h" #include "Common/StringUtils.h"
#include "Core/Config.h"
#include "Core/HDRemaster.h" #include "Core/HDRemaster.h"
#include "Core/Host.h" #include "Core/Host.h"
#include "GPU/ge_constants.h" #include "GPU/ge_constants.h"

View File

@ -22,7 +22,7 @@
#include "Common/Render/TextureAtlas.h" #include "Common/Render/TextureAtlas.h"
#include "Common/CommonTypes.h" #include "Common/Common.h"
class PointerWrap; class PointerWrap;

View File

@ -35,6 +35,7 @@
#include "Common/Net/Resolve.h" #include "Common/Net/Resolve.h"
#include "Common/Thread/ThreadUtil.h" #include "Common/Thread/ThreadUtil.h"
#include "Common/Log.h" #include "Common/Log.h"
#include "Core/Config.h"
#include "Core/System.h" #include "Core/System.h"
#include "Core/Host.h" #include "Core/Host.h"
#include "Core/ELF/ParamSFO.h" #include "Core/ELF/ParamSFO.h"

View File

@ -2,8 +2,6 @@
// Licensed under GPLv2+ // Licensed under GPLv2+
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include <string>
#include "Core/WaveFile.h" #include "Core/WaveFile.h"
#include "Common/Log.h" #include "Common/Log.h"
#include "Core/Config.h" #include "Core/Config.h"

View File

@ -13,7 +13,6 @@
#pragma once #pragma once
#include <array> #include <array>
#include <string>
#include <cstdint> #include <cstdint>
#include "Common/File/FileUtil.h" #include "Common/File/FileUtil.h"

View File

@ -23,7 +23,7 @@
#include "Common/GPU/OpenGL/GLFeatures.h" #include "Common/GPU/OpenGL/GLFeatures.h"
#include "Common/Data/Convert/ColorConv.h" #include "Common/Data/Convert/ColorConv.h"
#include "Common/Data/Text/I18n.h" #include "Common/Data/Text/I18n.h"
#include "Common/Common.h" #include "Common/CommonTypes.h"
#include "Core/Config.h" #include "Core/Config.h"
#include "Core/ConfigValues.h" #include "Core/ConfigValues.h"
#include "Core/Core.h" #include "Core/Core.h"

View File

@ -2,6 +2,7 @@
#include "Common/GPU/Shader.h" #include "Common/GPU/Shader.h"
#include "Common/GPU/ShaderWriter.h" #include "Common/GPU/ShaderWriter.h"
#include "Common/Log.h"
#include "GPU/Common/ReinterpretFramebuffer.h" #include "GPU/Common/ReinterpretFramebuffer.h"
static const VaryingDef varyings[1] = { static const VaryingDef varyings[1] = {

View File

@ -1,6 +1,5 @@
#pragma once #pragma once
#include "Common/Log.h"
#include "GPU/ge_constants.h" #include "GPU/ge_constants.h"
#include "GPU/GPUCommon.h" #include "GPU/GPUCommon.h"
#include "Common/GPU/ShaderWriter.h" #include "Common/GPU/ShaderWriter.h"

View File

@ -18,7 +18,6 @@
#pragma once #pragma once
#include <cstdint> #include <cstdint>
#include <vector>
namespace Draw { namespace Draw {
class DrawContext; class DrawContext;

View File

@ -4,7 +4,7 @@
#include <cstring> #include <cstring>
#include <cstdint> #include <cstdint>
#include "Common/Common.h" #include "Common/CommonFuncs.h"
// TODO: There will be additional bits, indicating that groups of these will be // TODO: There will be additional bits, indicating that groups of these will be
// sent to the shader and processed there. This will cut down the number of shaders ("ubershader approach") // sent to the shader and processed there. This will cut down the number of shaders ("ubershader approach")

View File

@ -18,10 +18,9 @@
#include <string.h> #include <string.h>
#include <algorithm> #include <algorithm>
#include "Common/Profiler/Profiler.h" #include "Common/Common.h"
#include "Common/CPUDetect.h" #include "Common/CPUDetect.h"
#include "Common/Profiler/Profiler.h"
#include "GPU/Common/GPUStateUtils.h" #include "GPU/Common/GPUStateUtils.h"
#include "GPU/Common/SplineCommon.h" #include "GPU/Common/SplineCommon.h"
#include "GPU/Common/DrawEngineCommon.h" #include "GPU/Common/DrawEngineCommon.h"

View File

@ -18,6 +18,7 @@
#include <algorithm> #include <algorithm>
#include "ppsspp_config.h" #include "ppsspp_config.h"
#include "Common/Common.h"
#include "Common/Data/Convert/ColorConv.h" #include "Common/Data/Convert/ColorConv.h"
#include "Common/Profiler/Profiler.h" #include "Common/Profiler/Profiler.h"
#include "Common/MemoryUtil.h" #include "Common/MemoryUtil.h"

View File

@ -17,6 +17,7 @@
#include "ppsspp_config.h" #include "ppsspp_config.h"
#include "ext/xxhash.h" #include "ext/xxhash.h"
#include "Common/Common.h"
#include "Common/Data/Convert/ColorConv.h" #include "Common/Data/Convert/ColorConv.h"
#include "Common/CPUDetect.h" #include "Common/CPUDetect.h"
#include "Common/Log.h" #include "Common/Log.h"

View File

@ -20,8 +20,6 @@
#include "Common/CommonTypes.h" #include "Common/CommonTypes.h"
#include "Common/MemoryUtil.h" #include "Common/MemoryUtil.h"
#include <vector>
static const int MIN_TEXSCALE_LINES_PER_THREAD = 4; static const int MIN_TEXSCALE_LINES_PER_THREAD = 4;
class TextureScalerCommon { class TextureScalerCommon {

View File

@ -20,7 +20,7 @@
#include "ppsspp_config.h" #include "ppsspp_config.h"
#include "Common/Common.h" #include "Common/CommonTypes.h"
#include "Common/CPUDetect.h" #include "Common/CPUDetect.h"
#include "Common/Data/Convert/ColorConv.h" #include "Common/Data/Convert/ColorConv.h"
#include "Common/Log.h" #include "Common/Log.h"

View File

@ -21,7 +21,7 @@
#include "ppsspp_config.h" #include "ppsspp_config.h"
#include "Common/Common.h" #include "Common/CommonTypes.h"
#include "Common/Data/Collections/Hashmaps.h" #include "Common/Data/Collections/Hashmaps.h"
#include "Common/Log.h" #include "Common/Log.h"
#include "Core/Reporting.h" #include "Core/Reporting.h"

View File

@ -18,7 +18,7 @@
#include <map> #include <map>
#include <d3d11.h> #include <d3d11.h>
#include "Common/Common.h" #include "Common/CommonTypes.h"
#include "Common/Data/Convert/ColorConv.h" #include "Common/Data/Convert/ColorConv.h"
#include "Common/Log.h" #include "Common/Log.h"
#include "Common/StringUtils.h" #include "Common/StringUtils.h"

View File

@ -17,7 +17,6 @@
#pragma once #pragma once
#include <map>
#include <d3d11.h> #include <d3d11.h>
#include <d3d11_1.h> #include <d3d11_1.h>

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