mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
Build: Explicitly include ppsspp_config.h.
This adds it to all files that use it. Not all our builds include the file.
This commit is contained in:
parent
6e4dc3f46c
commit
13ec384dbe
@ -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 "ppsspp_config.h"
|
||||||
#include "Common/Data/Convert/SmallDataConvert.h"
|
#include "Common/Data/Convert/SmallDataConvert.h"
|
||||||
#include "ColorConv.h"
|
#include "ColorConv.h"
|
||||||
// NEON is in a separate file so that it can be compiled with a runtime check.
|
// NEON is in a separate file so that it can be compiled with a runtime check.
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#include "ppsspp_config.h"
|
||||||
#include "Common/GPU/D3D11/D3D11Loader.h"
|
#include "Common/GPU/D3D11/D3D11Loader.h"
|
||||||
|
|
||||||
#if PPSSPP_PLATFORM(UWP)
|
#if PPSSPP_PLATFORM(UWP)
|
||||||
|
@ -15,11 +15,12 @@
|
|||||||
// 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/GPU/Vulkan/VulkanLoader.h"
|
#include "ppsspp_config.h"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
|
#include "Common/GPU/Vulkan/VulkanLoader.h"
|
||||||
#include "Common/Log.h"
|
#include "Common/Log.h"
|
||||||
#include "Common/System/System.h"
|
#include "Common/System/System.h"
|
||||||
|
|
||||||
@ -239,7 +240,7 @@ static const char *device_name_blacklist[] = {
|
|||||||
static const char *so_names[] = {
|
static const char *so_names[] = {
|
||||||
#ifdef IOS
|
#ifdef IOS
|
||||||
"@executable_path/Frameworks/libMoltenVK.dylib",
|
"@executable_path/Frameworks/libMoltenVK.dylib",
|
||||||
#elif defined(PPSSPP_PLATFORM_MAC)
|
#elif PPSSPP_PLATFORM(MAC)
|
||||||
"@executable_path/../Frameworks/libMoltenVK.dylib",
|
"@executable_path/../Frameworks/libMoltenVK.dylib",
|
||||||
#else
|
#else
|
||||||
"libvulkan.so",
|
"libvulkan.so",
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#include "ppsspp_config.h"
|
||||||
#include "fast_math.h"
|
#include "fast_math.h"
|
||||||
#include "fast_matrix.h"
|
#include "fast_matrix.h"
|
||||||
|
|
||||||
|
@ -15,7 +15,8 @@
|
|||||||
// Official SVN repository and contact information can be found at
|
// Official SVN repository and contact information can be found at
|
||||||
// http://code.google.com/p/dolphin-emu/
|
// http://code.google.com/p/dolphin-emu/
|
||||||
|
|
||||||
#ifdef __mips__
|
#include "ppsspp_config.h"
|
||||||
|
#if PPSSPP_ARCH(MIPS) || PPSSPP_ARCH(MIPS64)
|
||||||
|
|
||||||
#include "Common/Common.h"
|
#include "Common/Common.h"
|
||||||
#include "Common/CPUDetect.h"
|
#include "Common/CPUDetect.h"
|
||||||
@ -202,4 +203,4 @@ std::string CPUInfo::Summarize()
|
|||||||
return sum;
|
return sum;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // __mips__
|
#endif // PPSSPP_ARCH(MIPS) || PPSSPP_ARCH(MIPS64)
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#include "ppsspp_config.h"
|
||||||
#include "Common/Log.h"
|
#include "Common/Log.h"
|
||||||
#include "Common/StringUtils.h"
|
#include "Common/StringUtils.h"
|
||||||
#include "Common/System/Display.h"
|
#include "Common/System/Display.h"
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#include "ppsspp_config.h"
|
||||||
#include "Common/System/Display.h"
|
#include "Common/System/Display.h"
|
||||||
#include "Common/GPU/thin3d.h"
|
#include "Common/GPU/thin3d.h"
|
||||||
#include "Common/Data/Hash/Hash.h"
|
#include "Common/Data/Hash/Hash.h"
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#include "ppsspp_config.h"
|
||||||
#include "Common/System/Display.h"
|
#include "Common/System/Display.h"
|
||||||
#include "Common/GPU/thin3d.h"
|
#include "Common/GPU/thin3d.h"
|
||||||
#include "Common/Data/Hash/Hash.h"
|
#include "Common/Data/Hash/Hash.h"
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
#pragma optimize("gty", on)
|
#pragma optimize("gty", on)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "ppsspp_config.h"
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include "Common/CommonWindows.h"
|
#include "Common/CommonWindows.h"
|
||||||
#include <WindowsX.h>
|
#include <WindowsX.h>
|
||||||
|
@ -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 "ppsspp_config.h"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
#include "Common/Data/Text/I18n.h"
|
#include "Common/Data/Text/I18n.h"
|
||||||
|
@ -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 "ppsspp_config.h"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
|
||||||
|
@ -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 "ppsspp_config.h"
|
||||||
#include "Camera.h"
|
#include "Camera.h"
|
||||||
#include "Core/Config.h"
|
#include "Core/Config.h"
|
||||||
|
|
||||||
|
@ -32,6 +32,7 @@
|
|||||||
#define CONTROL_FACTOR 0.2f // in freq_shift per fifo size offset
|
#define CONTROL_FACTOR 0.2f // in freq_shift per fifo size offset
|
||||||
#define CONTROL_AVG 32.0f
|
#define CONTROL_AVG 32.0f
|
||||||
|
|
||||||
|
#include "ppsspp_config.h"
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
|
|
||||||
|
@ -15,7 +15,8 @@
|
|||||||
// 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 "Instance.h"
|
#include "ppsspp_config.h"
|
||||||
|
#include "Core/Instance.h"
|
||||||
|
|
||||||
#if !PPSSPP_PLATFORM(WINDOWS) && !PPSSPP_PLATFORM(ANDROID) && !defined(__LIBRETRO__)
|
#if !PPSSPP_PLATFORM(WINDOWS) && !PPSSPP_PLATFORM(ANDROID) && !defined(__LIBRETRO__)
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
@ -15,13 +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/.
|
||||||
|
|
||||||
// Enable define below to enable oprofile integration. For this to work,
|
#include "ppsspp_config.h"
|
||||||
// it requires at least oprofile version 0.9.4, and changing the build
|
|
||||||
// system to link the Dolphin executable against libopagent. Since the
|
|
||||||
// dependency is a little inconvenient and this is possibly a slight
|
|
||||||
// performance hit, it's not enabled by default, but it's useful for
|
|
||||||
// locating performance issues.
|
|
||||||
|
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
@ -45,6 +39,12 @@
|
|||||||
|
|
||||||
// #include "JitBase.h"
|
// #include "JitBase.h"
|
||||||
|
|
||||||
|
// Enable define below to enable oprofile integration. For this to work,
|
||||||
|
// it requires at least oprofile version 0.9.4, and changing the build
|
||||||
|
// system to link the Dolphin executable against libopagent. Since the
|
||||||
|
// dependency is a little inconvenient and this is possibly a slight
|
||||||
|
// performance hit, it's not enabled by default, but it's useful for
|
||||||
|
// locating performance issues.
|
||||||
#if defined USE_OPROFILE && USE_OPROFILE
|
#if defined USE_OPROFILE && USE_OPROFILE
|
||||||
#include <opagent.h>
|
#include <opagent.h>
|
||||||
|
|
||||||
|
@ -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 "ppsspp_config.h"
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
|
||||||
#include "ext/disarm.h"
|
#include "ext/disarm.h"
|
||||||
|
@ -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 "ppsspp_config.h"
|
||||||
#include "Common/CPUDetect.h"
|
#include "Common/CPUDetect.h"
|
||||||
#include "Core/Config.h"
|
#include "Core/Config.h"
|
||||||
#include "Core/MIPS/JitCommon/JitState.h"
|
#include "Core/MIPS/JitCommon/JitState.h"
|
||||||
|
@ -15,9 +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/.
|
||||||
|
|
||||||
#include <png.h>
|
#include "ppsspp_config.h"
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
#include <png.h>
|
||||||
|
|
||||||
#include "ext/xxhash.h"
|
#include "ext/xxhash.h"
|
||||||
|
|
||||||
|
@ -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 "ppsspp_config.h"
|
||||||
#include "Common/Common.h"
|
#include "Common/Common.h"
|
||||||
#include "Common/CPUDetect.h"
|
#include "Common/CPUDetect.h"
|
||||||
#include "Core/Util/AudioFormat.h"
|
#include "Core/Util/AudioFormat.h"
|
||||||
|
@ -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 "ppsspp_config.h"
|
||||||
#include "ext/xxhash.h"
|
#include "ext/xxhash.h"
|
||||||
#include "Common/CPUDetect.h"
|
#include "Common/CPUDetect.h"
|
||||||
#include "Common/ColorConv.h"
|
#include "Common/ColorConv.h"
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#include "ppsspp_config.h"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include "ppsspp_config.h"
|
||||||
#include "Common/Common.h"
|
#include "Common/Common.h"
|
||||||
#include "Common/MemoryUtil.h"
|
#include "Common/MemoryUtil.h"
|
||||||
#include "GPU/GPUInterface.h"
|
#include "GPU/GPUInterface.h"
|
||||||
|
@ -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 "ppsspp_config.h"
|
||||||
#include "GPU/ge_constants.h"
|
#include "GPU/ge_constants.h"
|
||||||
#include "GPU/GPUState.h"
|
#include "GPU/GPUState.h"
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
// Qt Desktop UI: works on Linux, Windows and Mac OSX
|
// Qt Desktop UI: works on Linux, Windows and Mac OSX
|
||||||
|
#include "ppsspp_config.h"
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
|
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#if defined(PPSSPP_PLATFORM_MAC)
|
#include "ppsspp_config.h"
|
||||||
|
#if PPSSPP_PLATFORM(MAC)
|
||||||
#import <Cocoa/Cocoa.h>
|
#import <Cocoa/Cocoa.h>
|
||||||
#else
|
#else
|
||||||
#import <UIKit/UIKit.h>
|
#import <UIKit/UIKit.h>
|
||||||
@ -9,7 +10,7 @@
|
|||||||
|
|
||||||
void *makeWindowMetalCompatible(void *window) {
|
void *makeWindowMetalCompatible(void *window) {
|
||||||
// https://github.com/KhronosGroup/MoltenVK/issues/78#issuecomment-371118536
|
// https://github.com/KhronosGroup/MoltenVK/issues/78#issuecomment-371118536
|
||||||
#if defined(PPSSPP_PLATFORM_MAC)
|
#if PPSSPP_PLATFORM(MAC)
|
||||||
NSView *view = ((NSWindow *)window).contentView;
|
NSView *view = ((NSWindow *)window).contentView;
|
||||||
assert([view isKindOfClass:[NSView class]]);
|
assert([view isKindOfClass:[NSView class]]);
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#include "ppsspp_config.h"
|
||||||
#include "Core/Config.h"
|
#include "Core/Config.h"
|
||||||
#include "Core/ConfigValues.h"
|
#include "Core/ConfigValues.h"
|
||||||
#include "Common/System/System.h"
|
#include "Common/System/System.h"
|
||||||
@ -93,7 +94,7 @@ bool SDLVulkanGraphicsContext::Init(SDL_Window *&window, int x, int y, int mode,
|
|||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
#if defined(VK_USE_PLATFORM_METAL_EXT)
|
#if defined(VK_USE_PLATFORM_METAL_EXT)
|
||||||
#if defined(PPSSPP_PLATFORM_MAC)
|
#if PPSSPP_PLATFORM(MAC)
|
||||||
case SDL_SYSWM_COCOA:
|
case SDL_SYSWM_COCOA:
|
||||||
vulkan_->InitSurface(WINDOWSYSTEM_METAL_EXT, makeWindowMetalCompatible(sys_info.info.cocoa.window), nullptr);
|
vulkan_->InitSurface(WINDOWSYSTEM_METAL_EXT, makeWindowMetalCompatible(sys_info.info.cocoa.window), nullptr);
|
||||||
break;
|
break;
|
||||||
|
@ -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 "ppsspp_config.h"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <deque>
|
#include <deque>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
@ -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 "ppsspp_config.h"
|
||||||
#include "ext/xxhash.h"
|
#include "ext/xxhash.h"
|
||||||
#include "Common/UI/UI.h"
|
#include "Common/UI/UI.h"
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#include "ppsspp_config.h"
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include "ppsspp_config.h"
|
||||||
#include "Debugger/Debugger_Disasm.h"
|
#include "Debugger/Debugger_Disasm.h"
|
||||||
#include "Debugger/Debugger_MemoryDlg.h"
|
#include "Debugger/Debugger_MemoryDlg.h"
|
||||||
#include "Common/CommonWindows.h"
|
#include "Common/CommonWindows.h"
|
||||||
|
@ -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 "ppsspp_config.h"
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
|
||||||
#include "headless/WindowsHeadlessHost.h"
|
#include "headless/WindowsHeadlessHost.h"
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#include "ppsspp_config.h"
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
Loading…
Reference in New Issue
Block a user