Make Common/ mostly IWYU clean (and fix errors in rest of the project detected by this change).

This commit is contained in:
Pierre Bourdon 2014-02-20 04:11:52 +01:00
parent 65bbfdb812
commit 83b7bb64aa
56 changed files with 152 additions and 64 deletions

View File

@ -5,6 +5,7 @@
#include "Common/Common.h" #include "Common/Common.h"
#include "Common/CPUDetect.h" #include "Common/CPUDetect.h"
#include "Common/FileUtil.h" #include "Common/FileUtil.h"
#include "Common/StringUtil.h"
// Only Linux platforms have /proc/cpuinfo // Only Linux platforms have /proc/cpuinfo
#if !defined(BLACKBERRY) && !defined(IOS) && !defined(__SYMBIAN32__) #if !defined(BLACKBERRY) && !defined(IOS) && !defined(__SYMBIAN32__)

View File

@ -6,11 +6,11 @@
#ifdef _WIN32 #ifdef _WIN32
#include "Common/Atomic_Win32.h" #include "Common/Atomic_Win32.h" // IWYU pragma: export
#else #else
// GCC-compatible compiler assumed! // GCC-compatible compiler assumed!
#include "Common/Atomic_GCC.h" #include "Common/Atomic_GCC.h" // IWYU pragma: export
#endif #endif

View File

@ -2,6 +2,8 @@
// Licensed under GPLv2 // Licensed under GPLv2
// Refer to the license.txt file included. // Refer to the license.txt file included.
// IWYU pragma: private, include "Common/Atomic.h"
#pragma once #pragma once
#include "Common/Common.h" #include "Common/Common.h"

View File

@ -2,6 +2,8 @@
// Licensed under GPLv2 // Licensed under GPLv2
// Refer to the license.txt file included. // Refer to the license.txt file included.
// IWYU pragma: private, include "Common/Atomic.h"
#pragma once #pragma once
#include <intrin.h> #include <intrin.h>

View File

@ -3,11 +3,14 @@
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include <sstream> #include <sstream>
#include <string>
#include <vector>
#include "Common/BreakPoints.h" #include "Common/BreakPoints.h"
#include "Common/Common.h" #include "Common/Common.h"
#include "Common/DebugInterface.h" #include "Common/DebugInterface.h"
#include "Core/PowerPC/JitCommon/JitBase.h" #include "Core/PowerPC/JitCommon/JitBase.h"
#include "Core/PowerPC/JitCommon/JitCache.h"
bool BreakPoints::IsAddressBreakPoint(u32 _iAddress) bool BreakPoints::IsAddressBreakPoint(u32 _iAddress)
{ {

View File

@ -1,6 +1,9 @@
// Most of the code in this file was shamelessly ripped from libcdio With minor adjustments // Most of the code in this file was shamelessly ripped from libcdio With minor adjustments
#include <memory> // for std::unique_ptr #include <algorithm>
#include <cstdlib>
#include <string>
#include <vector>
#include "Common/CDUtils.h" #include "Common/CDUtils.h"
#include "Common/Common.h" #include "Common/Common.h"
@ -19,6 +22,7 @@
#include <fcntl.h> #include <fcntl.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <unistd.h>
#endif // WIN32 #endif // WIN32
#ifdef __linux__ #ifdef __linux__

View File

@ -13,12 +13,14 @@
// - Zero backwards/forwards compatibility // - Zero backwards/forwards compatibility
// - Serialization code for anything complex has to be manually written. // - Serialization code for anything complex has to be manually written.
#include <cstddef>
#include <deque> #include <deque>
#include <list> #include <list>
#include <map> #include <map>
#include <set> #include <set>
#include <string> #include <string>
#include <type_traits> #include <type_traits>
#include <utility>
#include <vector> #include <vector>
#include "Common/Common.h" #include "Common/Common.h"

View File

@ -168,7 +168,7 @@ enum EMUSTATE_CHANGE
EMUSTATE_CHANGE_STOP EMUSTATE_CHANGE_STOP
}; };
#include "Common/CommonTypes.h" #include "Common/CommonTypes.h" // IWYU pragma: export
#include "Common/CommonFuncs.h" // NOLINT: needs to be included after CommonTypes #include "Common/CommonFuncs.h" // IWYU pragma: export // NOLINT
#include "Common/Log.h" #include "Common/Log.h" // IWYU pragma: export
#include "Common/MsgHandler.h" #include "Common/MsgHandler.h" // IWYU pragma: export

View File

@ -4,9 +4,6 @@
#pragma once #pragma once
// Make sure we pick up USER_DIR if set in config.h
#include "Common/Common.h"
// Directory seperators, do we need this? // Directory seperators, do we need this?
#define DIR_SEP "/" #define DIR_SEP "/"
#define DIR_SEP_CHR '/' #define DIR_SEP_CHR '/'

View File

@ -9,7 +9,6 @@
#pragma once #pragma once
#include <cstddef>
#include <cstdint> #include <cstdint>
#ifdef _WIN32 #ifdef _WIN32

View File

@ -1,5 +1,6 @@
#pragma once #pragma once
#include <cstring>
#include <string> #include <string>
class DebugInterface class DebugInterface

View File

@ -3,7 +3,11 @@
// a simple lockless thread-safe, // a simple lockless thread-safe,
// single reader, single writer queue // single reader, single writer queue
#include <algorithm>
#include <cstddef>
#include "Common/Atomic.h" #include "Common/Atomic.h"
#include "Common/CommonTypes.h"
namespace Common namespace Common
{ {

View File

@ -3,14 +3,13 @@
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include <algorithm> #include <algorithm>
#include <cstring>
#include "Common/Common.h"
#include "Common/CommonPaths.h" #include "Common/CommonPaths.h"
#include "Common/FileSearch.h" #include "Common/FileSearch.h"
#include "Common/StringUtil.h" #include "Common/StringUtil.h"
#ifndef _WIN32 #ifndef _WIN32
#include <sys/types.h>
#include <dirent.h> #include <dirent.h>
#else #else
#include <windows.h> #include <windows.h>

View File

@ -3,9 +3,16 @@
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include <algorithm> #include <algorithm>
#include <cstddef>
#include <cstdio>
#include <cstring>
#include <fcntl.h> #include <fcntl.h>
#include <limits.h>
#include <string>
#include <vector>
#include <sys/stat.h> #include <sys/stat.h>
#include "Common/Common.h"
#include "Common/CommonPaths.h" #include "Common/CommonPaths.h"
#include "Common/FileUtil.h" #include "Common/FileUtil.h"
@ -21,14 +28,14 @@
#include <errno.h> #include <errno.h>
#include <libgen.h> #include <libgen.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/param.h> #include <unistd.h>
#include <sys/types.h>
#endif #endif
#if defined(__APPLE__) #if defined(__APPLE__)
#include <CoreFoundation/CFBundle.h> #include <CoreFoundation/CFBundle.h>
#include <CoreFoundation/CFString.h> #include <CoreFoundation/CFString.h>
#include <CoreFoundation/CFURL.h> #include <CoreFoundation/CFURL.h>
#include <sys/param.h>
#endif #endif
#ifndef S_ISDIR #ifndef S_ISDIR

View File

@ -4,14 +4,17 @@
#pragma once #pragma once
#include <cstddef>
#include <cstdio> #include <cstdio>
#include <fstream> #include <fstream>
#include <string> #include <string>
#include <string.h>
#include <vector> #include <vector>
#include "Common/Common.h" #include "Common/Common.h"
#ifdef _WIN32
#include "Common/StringUtil.h" #include "Common/StringUtil.h"
#endif
// User directory indices for GetUserPath // User directory indices for GetUserPath
enum { enum {

View File

@ -4,6 +4,8 @@
#pragma once #pragma once
#include <cstddef>
// STL-look-a-like interface, but name is mixed case to distinguish it clearly from the // STL-look-a-like interface, but name is mixed case to distinguish it clearly from the
// real STL classes. // real STL classes.

View File

@ -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/
#include "FPURoundMode.h" #include "Common/CommonTypes.h"
#include "Common/FPURoundMode.h"
// Generic, do nothing // Generic, do nothing
namespace FPURoundMode namespace FPURoundMode

View File

@ -4,6 +4,8 @@
#pragma once #pragma once
#include <cstddef>
#include "Common/Common.h" #include "Common/Common.h"
u32 HashFletcher(const u8* data_u8, size_t length); // FAST. Length & 1 == 0. u32 HashFletcher(const u8* data_u8, size_t length); // FAST. Length & 1 == 0.

View File

@ -6,13 +6,15 @@
// see IniFile.h // see IniFile.h
#include <algorithm> #include <algorithm>
#include <cstdio> #include <cstddef>
#include <cstdlib> #include <cstring>
#include <fstream> #include <fstream>
#include <iostream> #include <map>
#include <string> #include <string>
#include <utility>
#include <vector> #include <vector>
#include "Common/CommonTypes.h"
#include "Common/FileUtil.h" #include "Common/FileUtil.h"
#include "Common/IniFile.h" #include "Common/IniFile.h"
#include "Common/StringUtil.h" #include "Common/StringUtil.h"

View File

@ -4,11 +4,12 @@
#pragma once #pragma once
#include <cstring>
#include <map> #include <map>
#include <set>
#include <string> #include <string>
#include <vector> #include <vector>
#include "Common/CommonTypes.h"
#include "Common/StringUtil.h" #include "Common/StringUtil.h"
struct CaseInsensitiveStringCompare struct CaseInsensitiveStringCompare

View File

@ -4,6 +4,7 @@
#pragma once #pragma once
#include <cstring>
#include <fstream> #include <fstream>
#include "Common/Common.h" #include "Common/Common.h"

View File

@ -2,14 +2,20 @@
// Licensed under GPLv2 // Licensed under GPLv2
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include <algorithm> #include <cstdarg>
#include <cstring>
#include <mutex>
#include <ostream>
#include <set>
#include <string>
#ifdef ANDROID #ifdef ANDROID
#include "Core/Host.h" #include "Core/Host.h"
#endif #endif
#include "Common/FileUtil.h" #include "Common/FileUtil.h"
#include "Common/Log.h"
#include "Common/LogManager.h" #include "Common/LogManager.h"
#include "Common/Thread.h" #include "Common/StringUtil.h"
#include "Common/Timer.h" #include "Common/Timer.h"
void GenericLog(LogTypes::LOG_LEVELS level, LogTypes::LOG_TYPE type, void GenericLog(LogTypes::LOG_LEVELS level, LogTypes::LOG_TYPE type,

View File

@ -4,13 +4,12 @@
#pragma once #pragma once
#include <cstdarg>
#include <fstream>
#include <mutex>
#include <set> #include <set>
#include <string.h>
#include "Common/FileUtil.h" #include "Common/Common.h"
#include "Common/Log.h"
#include "Common/StringUtil.h"
#include "Common/Thread.h"
#define MAX_MESSAGES 8000 #define MAX_MESSAGES 8000
#define MAX_MSGLEN 1024 #define MAX_MSGLEN 1024

View File

@ -3,8 +3,10 @@
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include <cmath> #include <cmath>
#include <cstring>
#include <numeric> #include <numeric>
#include "Common/CommonTypes.h"
#include "Common/MathUtil.h" #include "Common/MathUtil.h"
namespace MathUtil namespace MathUtil

View File

@ -4,10 +4,10 @@
#pragma once #pragma once
#include <cstdlib>
#include <vector> #include <vector>
#include "Common/Common.h" #include "Common/Common.h"
#include "Common/FPURoundMode.h"
namespace MathUtil namespace MathUtil
{ {

View File

@ -2,20 +2,23 @@
// Licensed under GPLv2 // Licensed under GPLv2
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include <cstddef>
#include <cstdlib>
#include <set> #include <set>
#include <string>
#include "Common/Common.h"
#include "Common/MemArena.h" #include "Common/MemArena.h"
#include "Common/MemoryUtil.h"
#include "Common/StringUtil.h" #include "Common/StringUtil.h"
#ifdef _WIN32 #ifdef _WIN32
#include <windows.h> #include <windows.h>
#else #else
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <cerrno> #include <cerrno>
#include <cstring> #include <cstring>
#include <fcntl.h>
#include <unistd.h>
#include <sys/mman.h>
#ifdef ANDROID #ifdef ANDROID
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <linux/ashmem.h> #include <linux/ashmem.h>

View File

@ -4,6 +4,8 @@
#pragma once #pragma once
#include <cstddef>
#ifdef _WIN32 #ifdef _WIN32
#include <windows.h> #include <windows.h>
#endif #endif

View File

@ -2,17 +2,19 @@
// Licensed under GPLv2 // Licensed under GPLv2
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include <cstddef>
#include <cstdlib>
#include <string>
#include "Common/Common.h" #include "Common/Common.h"
#include "Common/MemoryUtil.h"
#include "Common/StringUtil.h"
#ifdef _WIN32 #ifdef _WIN32
#include <windows.h> #include <windows.h>
#include <psapi.h> #include <psapi.h>
#include "Common/StringUtil.h"
#else #else
#include <errno.h>
#include <stdio.h> #include <stdio.h>
#include <sys/mman.h>
#endif #endif
#if !defined(_WIN32) && defined(__x86_64__) && !defined(MAP_32BIT) #if !defined(_WIN32) && defined(__x86_64__) && !defined(MAP_32BIT)

View File

@ -4,12 +4,9 @@
#pragma once #pragma once
#include <cstddef>
#include <string> #include <string>
#ifndef _WIN32
#include <sys/mman.h>
#endif
void* AllocateExecutableMemory(size_t size, bool low = true); void* AllocateExecutableMemory(size_t size, bool low = true);
void* AllocateMemoryPages(size_t size); void* AllocateMemoryPages(size_t size);
void FreeMemoryPages(void* ptr, size_t size); void FreeMemoryPages(void* ptr, size_t size);

View File

@ -2,7 +2,9 @@
// Licensed under GPLv2 // Licensed under GPLv2
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "Common/Common.h" #include <cstddef>
#include <cstring>
#include <errno.h>
// Neither Android nor OS X support TLS // Neither Android nor OS X support TLS
#if defined(__APPLE__) || (ANDROID && __clang__) #if defined(__APPLE__) || (ANDROID && __clang__)

View File

@ -2,7 +2,9 @@
// Licensed under GPLv2 // Licensed under GPLv2
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include <cstdarg>
#include <cstdio> #include <cstdio>
#include <string>
#include "Common/Common.h" #include "Common/Common.h"
#include "Common/StringUtil.h" #include "Common/StringUtil.h"

View File

@ -2,11 +2,15 @@
// Licensed under GPLv2 // Licensed under GPLv2
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include <cstdio>
#include <fstream> #include <fstream>
#include <string>
#include <utility>
#include "Common/CommonPaths.h" #include "Common/Common.h"
#include "Common/FileUtil.h" #include "Common/FileUtil.h"
#include "Common/NandPaths.h" #include "Common/NandPaths.h"
#include "Common/StringUtil.h"
namespace Common namespace Common
{ {

View File

@ -5,6 +5,9 @@
#pragma once #pragma once
#include <string> #include <string>
#include <utility>
#include <vector>
#include "Common/CommonTypes.h" #include "Common/CommonTypes.h"
#define TITLEID_SYSMENU 0x0000000100000002ull #define TITLEID_SYSMENU 0x0000000100000002ull

View File

@ -29,12 +29,12 @@
// Modified for Dolphin. // Modified for Dolphin.
#include <cinttypes> #include <cinttypes>
#include <cstddef>
#include <cstdio> #include <cstdio>
#include <cstdlib>
#include <cstring> #include <cstring>
#include <ctime> #include <ctime>
#include <errno.h>
#include "Common/Common.h"
#include "Common/FileUtil.h" #include "Common/FileUtil.h"
#include "Common/SDCardUtil.h" #include "Common/SDCardUtil.h"

View File

@ -4,17 +4,20 @@
// Thanks to Treeki for writing the original class - 29/01/2012 // Thanks to Treeki for writing the original class - 29/01/2012
#include <cstddef>
#include <cstdio>
#include <cstring>
#include <ctime> #include <ctime>
#include <string>
#ifdef _WIN32 #ifdef _WIN32
#include <mmsystem.h> #include <mmsystem.h>
#include <sys/timeb.h> #include <sys/timeb.h>
#include <windows.h> #include <windows.h>
#else #include "Common/CommonFuncs.h" // snprintf
#include <sys/time.h>
#endif #endif
#include "Common/CommonPaths.h" #include "Common/CommonTypes.h"
#include "Common/SettingsHandler.h" #include "Common/SettingsHandler.h"
#include "Common/Timer.h" #include "Common/Timer.h"

View File

@ -14,7 +14,7 @@
#if GCC_VERSION >= GCC_VER(4,4,0) && __GXX_EXPERIMENTAL_CXX0X__ #if GCC_VERSION >= GCC_VER(4,4,0) && __GXX_EXPERIMENTAL_CXX0X__
// GCC 4.4 provides <condition_variable> // GCC 4.4 provides <condition_variable>
#include <condition_variable> #include <condition_variable> // IWYU pragma: export
#elif __has_include(<condition_variable>) && !ANDROID #elif __has_include(<condition_variable>) && !ANDROID
@ -23,14 +23,12 @@
// //
// We work around this issue by undefining and redefining _. // We work around this issue by undefining and redefining _.
#undef _ #include <condition_variable> // IWYU pragma: export
#include <condition_variable>
#define _(s) wxGetTranslation((s))
#elif _MSC_VER >= 1700 #elif _MSC_VER >= 1700
// The standard implementation is included since VS2012 // The standard implementation is included since VS2012
#include <condition_variable> #include <condition_variable> // IWYU pragma: export
#else #else

View File

@ -13,15 +13,15 @@
#if GCC_VERSION >= GCC_VER(4,4,0) && __GXX_EXPERIMENTAL_CXX0X__ #if GCC_VERSION >= GCC_VER(4,4,0) && __GXX_EXPERIMENTAL_CXX0X__
// GCC 4.4 provides <mutex> // GCC 4.4 provides <mutex>
#include <mutex> #include <mutex> // IWYU pragma: export
#elif __has_include(<mutex>) && !ANDROID #elif __has_include(<mutex>) && !ANDROID
// Clang + libc++ // Clang + libc++
#include <mutex> #include <mutex> // IWYU pragma: export
#elif _MSC_VER >= 1700 #elif _MSC_VER >= 1700
// The standard implementation is included since VS2012 // The standard implementation is included since VS2012
#include <mutex> #include <mutex> // IWYU pragma: export
#else #else

View File

@ -16,15 +16,15 @@
#ifndef _GLIBCXX_USE_SCHED_YIELD #ifndef _GLIBCXX_USE_SCHED_YIELD
#define _GLIBCXX_USE_SCHED_YIELD #define _GLIBCXX_USE_SCHED_YIELD
#endif #endif
#include <thread> #include <thread> // IWYU pragma: export
#elif __has_include(<thread>) && !ANDROID #elif __has_include(<thread>) && !ANDROID
// Clang + libc++ // Clang + libc++
#include <thread> #include <thread> // IWYU pragma: export
#elif _MSC_VER >= 1700 #elif _MSC_VER >= 1700
// The standard implementation is included since VS2012 // The standard implementation is included since VS2012
#include <thread> #include <thread> // IWYU pragma: export
#else #else

View File

@ -3,9 +3,18 @@
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include <algorithm> #include <algorithm>
#include <cstdarg>
#include <cstddef>
#include <cstdio> #include <cstdio>
#include <cstdlib> #include <cstdlib>
#include <cstring>
#include <iomanip>
#include <istream>
#include <limits.h>
#include <string>
#include <vector>
#include "Common/Common.h"
#include "Common/CommonPaths.h" #include "Common/CommonPaths.h"
#include "Common/StringUtil.h" #include "Common/StringUtil.h"

View File

@ -5,6 +5,7 @@
#pragma once #pragma once
#include <cstdarg> #include <cstdarg>
#include <cstddef>
#include <iomanip> #include <iomanip>
#include <sstream> #include <sstream>
#include <string> #include <string>

View File

@ -2,8 +2,13 @@
// Licensed under GPLv2 // Licensed under GPLv2
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "Common/SymbolDB.h" #include <cstring>
#include <map>
#include <string>
#include <utility>
#include "Common/Common.h"
#include "Common/SymbolDB.h"
void SymbolDB::List() void SymbolDB::List()
{ {

View File

@ -9,6 +9,7 @@
#include <map> #include <map>
#include <string> #include <string>
#include <utility>
#include <vector> #include <vector>
#include "Common/Common.h" #include "Common/Common.h"

View File

@ -3,7 +3,12 @@
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include <cinttypes> #include <cinttypes>
#include <cstdio>
#include <cstring>
#include <string>
#include <vector>
#include "Common/Common.h"
#include "Common/FileUtil.h" #include "Common/FileUtil.h"
#include "Common/SysConf.h" #include "Common/SysConf.h"

View File

@ -4,6 +4,8 @@
#pragma once #pragma once
#include <cstdio>
#include <cstring>
#include <string> #include <string>
#include <vector> #include <vector>

View File

@ -4,6 +4,7 @@
#include <cinttypes> #include <cinttypes>
#include <ctime> #include <ctime>
#include <string>
#ifdef _WIN32 #ifdef _WIN32
#include <mmsystem.h> #include <mmsystem.h>
@ -13,6 +14,7 @@
#include <sys/time.h> #include <sys/time.h>
#endif #endif
#include "Common/CommonTypes.h"
#include "Common/StringUtil.h" #include "Common/StringUtil.h"
#include "Common/Timer.h" #include "Common/Timer.h"

View File

@ -2,6 +2,7 @@
// Licensed under GPLv2 // Licensed under GPLv2
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "Common/Common.h"
#include "Common/x64ABI.h" #include "Common/x64ABI.h"
#include "Common/x64Emitter.h" #include "Common/x64Emitter.h"

View File

@ -4,7 +4,7 @@
#pragma once #pragma once
#include "Common/Common.h" #include "Common/x64Emitter.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

@ -2,11 +2,11 @@
// Licensed under GPLv2 // Licensed under GPLv2
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include <memory> #include <cstring>
#include <string>
#include "Common/Common.h" #include "Common/Common.h"
#include "Common/CPUDetect.h" #include "Common/CPUDetect.h"
#include "Common/StringUtil.h"
#ifdef _WIN32 #ifdef _WIN32
#define _interlockedbittestandset workaround_ms_header_bug_platform_sdk6_set #define _interlockedbittestandset workaround_ms_header_bug_platform_sdk6_set

View File

@ -6,7 +6,6 @@
#include "Common/Common.h" #include "Common/Common.h"
#include "Common/CPUDetect.h" #include "Common/CPUDetect.h"
#include "Common/x64ABI.h"
#include "Common/x64Emitter.h" #include "Common/x64Emitter.h"
namespace Gen namespace Gen

View File

@ -6,6 +6,9 @@
#pragma once #pragma once
#include <cstddef>
#include <cstring>
#include "Common/Common.h" #include "Common/Common.h"
#include "Common/MemoryUtil.h" #include "Common/MemoryUtil.h"

View File

@ -4,7 +4,6 @@
#include "Common/Common.h" #include "Common/Common.h"
#include "Common/CPUDetect.h" #include "Common/CPUDetect.h"
#include "Common/FPURoundMode.h"
#ifndef _WIN32 #ifndef _WIN32
static const unsigned short FPU_ROUND_NEAR = 0 << 10; static const unsigned short FPU_ROUND_NEAR = 0 << 10;

View File

@ -8,6 +8,7 @@
#include <string> #include <string>
#include "Common/ChunkFile.h" #include "Common/ChunkFile.h"
#include "Common/StringUtil.h"
#include "Core/HW/Memmap.h" #include "Core/HW/Memmap.h"

View File

@ -5,6 +5,7 @@
#include "Common/Atomic.h" #include "Common/Atomic.h"
#include "Common/ChunkFile.h" #include "Common/ChunkFile.h"
#include "Common/Common.h" #include "Common/Common.h"
#include "Common/FPURoundMode.h"
#include "Common/MathUtil.h" #include "Common/MathUtil.h"
#include "Core/Core.h" #include "Core/Core.h"

View File

@ -4,6 +4,7 @@
#pragma once #pragma once
#include <set>
#include <string> #include <string>
#include <wx/filepicker.h> #include <wx/filepicker.h>
#include <wx/fontmap.h> #include <wx/fontmap.h>

View File

@ -5,6 +5,7 @@
#include "Common/Atomic.h" #include "Common/Atomic.h"
#include "Common/ChunkFile.h" #include "Common/ChunkFile.h"
#include "Common/Common.h" #include "Common/Common.h"
#include "Common/FPURoundMode.h"
#include "Common/MathUtil.h" #include "Common/MathUtil.h"
#include "Common/Thread.h" #include "Common/Thread.h"

View File

@ -4,6 +4,7 @@
#include "Common/Atomic.h" #include "Common/Atomic.h"
#include "Common/ChunkFile.h" #include "Common/ChunkFile.h"
#include "Common/FPURoundMode.h"
#include "Common/MemoryUtil.h" #include "Common/MemoryUtil.h"
#include "Common/Thread.h" #include "Common/Thread.h"