mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-26 23:10:38 +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
|
||||
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
||||
|
||||
#include "ppsspp_config.h"
|
||||
#include "Common/Data/Convert/SmallDataConvert.h"
|
||||
#include "ColorConv.h"
|
||||
// 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"
|
||||
|
||||
#if PPSSPP_PLATFORM(UWP)
|
||||
|
@ -15,11 +15,12 @@
|
||||
// Official git repository and contact information can be found at
|
||||
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
||||
|
||||
#include "Common/GPU/Vulkan/VulkanLoader.h"
|
||||
#include "ppsspp_config.h"
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <cstring>
|
||||
|
||||
#include "Common/GPU/Vulkan/VulkanLoader.h"
|
||||
#include "Common/Log.h"
|
||||
#include "Common/System/System.h"
|
||||
|
||||
@ -239,7 +240,7 @@ static const char *device_name_blacklist[] = {
|
||||
static const char *so_names[] = {
|
||||
#ifdef IOS
|
||||
"@executable_path/Frameworks/libMoltenVK.dylib",
|
||||
#elif defined(PPSSPP_PLATFORM_MAC)
|
||||
#elif PPSSPP_PLATFORM(MAC)
|
||||
"@executable_path/../Frameworks/libMoltenVK.dylib",
|
||||
#else
|
||||
"libvulkan.so",
|
||||
|
@ -1,3 +1,4 @@
|
||||
#include "ppsspp_config.h"
|
||||
#include "fast_math.h"
|
||||
#include "fast_matrix.h"
|
||||
|
||||
|
@ -15,7 +15,8 @@
|
||||
// Official SVN repository and contact information can be found at
|
||||
// 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/CPUDetect.h"
|
||||
@ -202,4 +203,4 @@ std::string CPUInfo::Summarize()
|
||||
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/StringUtils.h"
|
||||
#include "Common/System/Display.h"
|
||||
|
@ -1,3 +1,4 @@
|
||||
#include "ppsspp_config.h"
|
||||
#include "Common/System/Display.h"
|
||||
#include "Common/GPU/thin3d.h"
|
||||
#include "Common/Data/Hash/Hash.h"
|
||||
|
@ -1,3 +1,4 @@
|
||||
#include "ppsspp_config.h"
|
||||
#include "Common/System/Display.h"
|
||||
#include "Common/GPU/thin3d.h"
|
||||
#include "Common/Data/Hash/Hash.h"
|
||||
|
@ -21,6 +21,7 @@
|
||||
#pragma optimize("gty", on)
|
||||
#endif
|
||||
|
||||
#include "ppsspp_config.h"
|
||||
#ifdef _WIN32
|
||||
#include "Common/CommonWindows.h"
|
||||
#include <WindowsX.h>
|
||||
|
@ -15,6 +15,7 @@
|
||||
// Official git repository and contact information can be found at
|
||||
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
||||
|
||||
#include "ppsspp_config.h"
|
||||
#include <algorithm>
|
||||
|
||||
#include "Common/Data/Text/I18n.h"
|
||||
|
@ -15,6 +15,7 @@
|
||||
// Official git repository and contact information can be found at
|
||||
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
||||
|
||||
#include "ppsspp_config.h"
|
||||
#include <algorithm>
|
||||
#include <mutex>
|
||||
|
||||
|
@ -15,6 +15,7 @@
|
||||
// Official git repository and contact information can be found at
|
||||
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
||||
|
||||
#include "ppsspp_config.h"
|
||||
#include "Camera.h"
|
||||
#include "Core/Config.h"
|
||||
|
||||
|
@ -32,6 +32,7 @@
|
||||
#define CONTROL_FACTOR 0.2f // in freq_shift per fifo size offset
|
||||
#define CONTROL_AVG 32.0f
|
||||
|
||||
#include "ppsspp_config.h"
|
||||
#include <cstring>
|
||||
#include <atomic>
|
||||
|
||||
|
@ -15,7 +15,8 @@
|
||||
// Official git repository and contact information can be found at
|
||||
// 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__)
|
||||
#include <unistd.h>
|
||||
|
@ -15,13 +15,7 @@
|
||||
// Official git repository and contact information can be found at
|
||||
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
||||
|
||||
// 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.
|
||||
|
||||
#include "ppsspp_config.h"
|
||||
#include <cstddef>
|
||||
#include <algorithm>
|
||||
|
||||
@ -45,6 +39,12 @@
|
||||
|
||||
// #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
|
||||
#include <opagent.h>
|
||||
|
||||
|
@ -15,6 +15,7 @@
|
||||
// Official git repository and contact information can be found at
|
||||
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
||||
|
||||
#include "ppsspp_config.h"
|
||||
#include <cstdlib>
|
||||
|
||||
#include "ext/disarm.h"
|
||||
|
@ -15,6 +15,7 @@
|
||||
// Official git repository and contact information can be found at
|
||||
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
||||
|
||||
#include "ppsspp_config.h"
|
||||
#include "Common/CPUDetect.h"
|
||||
#include "Core/Config.h"
|
||||
#include "Core/MIPS/JitCommon/JitState.h"
|
||||
|
@ -15,9 +15,9 @@
|
||||
// Official git repository and contact information can be found at
|
||||
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
||||
|
||||
#include <png.h>
|
||||
|
||||
#include "ppsspp_config.h"
|
||||
#include <algorithm>
|
||||
#include <png.h>
|
||||
|
||||
#include "ext/xxhash.h"
|
||||
|
||||
|
@ -15,6 +15,7 @@
|
||||
// Official git repository and contact information can be found at
|
||||
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
||||
|
||||
#include "ppsspp_config.h"
|
||||
#include "Common/Common.h"
|
||||
#include "Common/CPUDetect.h"
|
||||
#include "Core/Util/AudioFormat.h"
|
||||
|
@ -15,6 +15,7 @@
|
||||
// Official git repository and contact information can be found at
|
||||
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
||||
|
||||
#include "ppsspp_config.h"
|
||||
#include "ext/xxhash.h"
|
||||
#include "Common/CPUDetect.h"
|
||||
#include "Common/ColorConv.h"
|
||||
|
@ -1,3 +1,4 @@
|
||||
#include "ppsspp_config.h"
|
||||
#include <algorithm>
|
||||
#include <type_traits>
|
||||
#include <mutex>
|
||||
|
@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "ppsspp_config.h"
|
||||
#include "Common/Common.h"
|
||||
#include "Common/MemoryUtil.h"
|
||||
#include "GPU/GPUInterface.h"
|
||||
|
@ -15,6 +15,7 @@
|
||||
// Official git repository and contact information can be found at
|
||||
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
||||
|
||||
#include "ppsspp_config.h"
|
||||
#include "GPU/ge_constants.h"
|
||||
#include "GPU/GPUState.h"
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
// Qt Desktop UI: works on Linux, Windows and Mac OSX
|
||||
#include "ppsspp_config.h"
|
||||
#include "mainwindow.h"
|
||||
|
||||
#include <QApplication>
|
||||
|
@ -1,4 +1,5 @@
|
||||
#if defined(PPSSPP_PLATFORM_MAC)
|
||||
#include "ppsspp_config.h"
|
||||
#if PPSSPP_PLATFORM(MAC)
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#else
|
||||
#import <UIKit/UIKit.h>
|
||||
@ -9,7 +10,7 @@
|
||||
|
||||
void *makeWindowMetalCompatible(void *window) {
|
||||
// https://github.com/KhronosGroup/MoltenVK/issues/78#issuecomment-371118536
|
||||
#if defined(PPSSPP_PLATFORM_MAC)
|
||||
#if PPSSPP_PLATFORM(MAC)
|
||||
NSView *view = ((NSWindow *)window).contentView;
|
||||
assert([view isKindOfClass:[NSView class]]);
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
#include "ppsspp_config.h"
|
||||
#include "Core/Config.h"
|
||||
#include "Core/ConfigValues.h"
|
||||
#include "Common/System/System.h"
|
||||
@ -93,7 +94,7 @@ bool SDLVulkanGraphicsContext::Init(SDL_Window *&window, int x, int y, int mode,
|
||||
break;
|
||||
#endif
|
||||
#if defined(VK_USE_PLATFORM_METAL_EXT)
|
||||
#if defined(PPSSPP_PLATFORM_MAC)
|
||||
#if PPSSPP_PLATFORM(MAC)
|
||||
case SDL_SYSWM_COCOA:
|
||||
vulkan_->InitSurface(WINDOWSYSTEM_METAL_EXT, makeWindowMetalCompatible(sys_info.info.cocoa.window), nullptr);
|
||||
break;
|
||||
|
@ -15,6 +15,7 @@
|
||||
// Official git repository and contact information can be found at
|
||||
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
||||
|
||||
#include "ppsspp_config.h"
|
||||
#include <algorithm>
|
||||
#include <deque>
|
||||
#include <mutex>
|
||||
|
@ -15,6 +15,7 @@
|
||||
// Official git repository and contact information can be found at
|
||||
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
||||
|
||||
#include "ppsspp_config.h"
|
||||
#include "ext/xxhash.h"
|
||||
#include "Common/UI/UI.h"
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
#include "ppsspp_config.h"
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
|
@ -18,6 +18,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "ppsspp_config.h"
|
||||
#include "Debugger/Debugger_Disasm.h"
|
||||
#include "Debugger/Debugger_MemoryDlg.h"
|
||||
#include "Common/CommonWindows.h"
|
||||
|
@ -15,6 +15,7 @@
|
||||
// Official git repository and contact information can be found at
|
||||
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
||||
|
||||
#include "ppsspp_config.h"
|
||||
#include <cstdio>
|
||||
|
||||
#include "headless/WindowsHeadlessHost.h"
|
||||
|
@ -1,3 +1,4 @@
|
||||
#include "ppsspp_config.h"
|
||||
#include <cstring>
|
||||
#include <cassert>
|
||||
#include <thread>
|
||||
|
Loading…
Reference in New Issue
Block a user