Common: Remove common.h

This commit is contained in:
Yuri Kunde Schlesner 2015-05-06 04:06:12 -03:00
parent 1bd1a13a02
commit e1fbac3ca1
102 changed files with 147 additions and 97 deletions

View file

@ -4,7 +4,7 @@
#include <thread> #include <thread>
#include "common/common.h" #include "common/logging/log.h"
#include "common/logging/text_formatter.h" #include "common/logging/text_formatter.h"
#include "common/logging/backend.h" #include "common/logging/backend.h"
#include "common/logging/filter.h" #include "common/logging/filter.h"

View file

@ -5,7 +5,10 @@
#include <GLFW/glfw3.h> #include <GLFW/glfw3.h>
#include "citra/default_ini.h" #include "citra/default_ini.h"
#include "common/file_util.h" #include "common/file_util.h"
#include "common/logging/log.h"
#include "core/settings.h" #include "core/settings.h"
#include "core/core.h" #include "core/core.h"

View file

@ -4,7 +4,7 @@
#include <GLFW/glfw3.h> #include <GLFW/glfw3.h>
#include "common/common.h" #include "common/logging/log.h"
#include "video_core/video_core.h" #include "video_core/video_core.h"

View file

@ -8,7 +8,6 @@
#include <QWindow> #include <QWindow>
#endif #endif
#include "common/common.h"
#include "bootmanager.h" #include "bootmanager.h"
#include "main.h" #include "main.h"

View file

@ -7,7 +7,6 @@
#include <QThread> #include <QThread>
#include <QGLWidget> #include <QGLWidget>
#include "common/common.h"
#include "common/emu_window.h" #include "common/emu_window.h"
#include "common/thread.h" #include "common/thread.h"

View file

@ -7,7 +7,6 @@
#include "../bootmanager.h" #include "../bootmanager.h"
#include "../hotkeys.h" #include "../hotkeys.h"
#include "common/common.h"
#include "core/mem_map.h" #include "core/mem_map.h"
#include "core/core.h" #include "core/core.h"

View file

@ -9,8 +9,8 @@
#include "ui_disassembler.h" #include "ui_disassembler.h"
#include "common/common.h"
#include "common/break_points.h" #include "common/break_points.h"
#include "common/common_types.h"
class QAction; class QAction;
class EmuThread; class EmuThread;

View file

@ -8,6 +8,8 @@
#include <QVBoxLayout> #include <QVBoxLayout>
#include <QLabel> #include <QLabel>
#include "common/assert.h"
#include "graphics_breakpoints.h" #include "graphics_breakpoints.h"
#include "graphics_breakpoints_p.h" #include "graphics_breakpoints_p.h"

View file

@ -4,8 +4,9 @@
#include "ramview.h" #include "ramview.h"
#include "common/common.h"
#include "core/mem_map.h" #include "core/mem_map.h"
GRamView::GRamView(QWidget* parent) : QHexEdit(parent) GRamView::GRamView(QWidget* parent) : QHexEdit(parent)
{ {
} }

View file

@ -10,7 +10,6 @@
#include "qhexedit.h" #include "qhexedit.h"
#include "main.h" #include "main.h"
#include "common/common.h"
#include "common/logging/text_formatter.h" #include "common/logging/text_formatter.h"
#include "common/logging/log.h" #include "common/logging/log.h"
#include "common/logging/backend.h" #include "common/logging/backend.h"

View file

@ -27,7 +27,6 @@ set(HEADERS
bit_field.h bit_field.h
break_points.h break_points.h
chunk_file.h chunk_file.h
common.h
common_funcs.h common_funcs.h
common_paths.h common_paths.h
common_types.h common_types.h

View file

@ -35,7 +35,7 @@
#include <limits> #include <limits>
#include <type_traits> #include <type_traits>
#include "common/common.h" #include "common/common_funcs.h"
/* /*
* Abstract bitfield class * Abstract bitfield class

View file

@ -2,7 +2,6 @@
// Licensed under GPLv2 or any later version // Licensed under GPLv2 or any later version
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "common/common.h"
#include "common/debug_interface.h" #include "common/debug_interface.h"
#include "common/break_points.h" #include "common/break_points.h"
#include "common/logging/log.h" #include "common/logging/log.h"

View file

@ -7,7 +7,7 @@
#include <vector> #include <vector>
#include <string> #include <string>
#include "common/common.h" #include "common/common_types.h"
class DebugInterface; class DebugInterface;

View file

@ -34,8 +34,9 @@
#include <set> #include <set>
#include <type_traits> #include <type_traits>
#include "common/common.h" #include "common/common_types.h"
#include "common/file_util.h" #include "common/file_util.h"
#include "common/logging/log.h"
template <class T> template <class T>
struct LinkedListItem : public T struct LinkedListItem : public T

View file

@ -1,21 +0,0 @@
// Copyright 2013 Dolphin Emulator Project / 2014 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#pragma once
// DO NOT EVER INCLUDE <windows.h> directly _or indirectly_ from this file
// since it slows down the build a lot.
#include <cstdlib>
#include <cstdio>
#include <cstring>
#include "common/assert.h"
#include "common/logging/log.h"
#include "common/common_types.h"
#include "common/common_funcs.h"
#include "common/common_paths.h"
#include "common/platform.h"
#include "swap.h"

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 separators, do we need this? // Directory separators, do we need this?
#define DIR_SEP "/" #define DIR_SEP "/"
#define DIR_SEP_CHR '/' #define DIR_SEP_CHR '/'

View file

@ -10,7 +10,7 @@
#include <mutex> #include <mutex>
#include <thread> #include <thread>
#include "common/common.h" // for NonCopyable #include "common/common_types.h" // for NonCopyable
namespace Common { namespace Common {

View file

@ -4,11 +4,11 @@
#pragma once #pragma once
#include "common/common.h" #include "common/common_types.h"
#include "common/scm_rev.h"
#include "common/string_util.h"
#include "common/key_map.h" #include "common/key_map.h"
#include "common/math_util.h" #include "common/math_util.h"
#include "common/scm_rev.h"
#include "common/string_util.h"
/** /**
* Abstraction class used to provide an interface between emulation code and the frontend * Abstraction class used to provide an interface between emulation code and the frontend

View file

@ -2,9 +2,11 @@
// Licensed under GPLv2 or any later version // Licensed under GPLv2 or any later version
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "common/assert.h"
#include "common/common.h" #include "common/common_funcs.h"
#include "common/common_paths.h"
#include "common/file_util.h" #include "common/file_util.h"
#include "common/logging/log.h"
#ifdef _WIN32 #ifdef _WIN32
#include <windows.h> #include <windows.h>

View file

@ -11,7 +11,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include "common/common.h" #include "common/common_types.h"
#include "common/string_util.h" #include "common/string_util.h"
// User directory indices for GetUserPath // User directory indices for GetUserPath

View file

@ -4,6 +4,7 @@
#include <algorithm> #include <algorithm>
#include "common/common_funcs.h" // For rotl
#include "common/hash.h" #include "common/hash.h"
#include "common/platform.h" #include "common/platform.h"

View file

@ -4,7 +4,7 @@
#pragma once #pragma once
#include "common/common.h" #include "common/common_types.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.
u32 HashAdler32(const u8* data, size_t len); // Fairly accurate, slightly slower u32 HashAdler32(const u8* data, size_t len); // Fairly accurate, slightly slower

View file

@ -4,7 +4,7 @@
#pragma once #pragma once
#include "common/common.h" #include "common/common_types.h"
#include <fstream> #include <fstream>
// defined in Version.cpp // defined in Version.cpp

View file

@ -14,6 +14,7 @@
#include "common/logging/log.h" #include "common/logging/log.h"
#include "common/logging/text_formatter.h" #include "common/logging/text_formatter.h"
#include "common/common_funcs.h"
#include "common/string_util.h" #include "common/string_util.h"
namespace Log { namespace Log {

View file

@ -2,12 +2,12 @@
// Licensed under GPLv2 or any later version // Licensed under GPLv2 or any later version
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include <cstring>
#include "common/common.h"
#include "common/math_util.h"
#include <numeric> // Necessary on OS X, but not Linux #include <numeric> // Necessary on OS X, but not Linux
#include "common/common_types.h"
#include "common/math_util.h"
namespace MathUtil namespace MathUtil
{ {

View file

@ -4,7 +4,7 @@
#pragma once #pragma once
#include "common/common.h" #include "common/common_types.h"
#include <algorithm> #include <algorithm>
#include <type_traits> #include <type_traits>

View file

@ -17,12 +17,16 @@
#include <string> #include <string>
#include "common/memory_util.h" #include "common/logging/log.h"
#include "common/mem_arena.h" #include "common/mem_arena.h"
#include "common/memory_util.h"
#include "common/string_util.h" #include "common/string_util.h"
#ifndef _WIN32 #ifndef _WIN32
#include <fcntl.h> #include <fcntl.h>
#include <string.h>
#include <unistd.h>
#ifdef ANDROID #ifdef ANDROID
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <linux/ashmem.h> #include <linux/ashmem.h>

View file

@ -21,7 +21,7 @@
#include <windows.h> #include <windows.h>
#endif #endif
#include "common/common.h" #include "common/common_types.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

@ -3,7 +3,8 @@
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "common/common.h" #include "common/common_funcs.h"
#include "common/logging/log.h"
#include "common/memory_util.h" #include "common/memory_util.h"
#include "common/string_util.h" #include "common/string_util.h"

View file

@ -2,10 +2,12 @@
// Licensed under GPLv2 or any later version // Licensed under GPLv2 or any later version
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "common/common.h" #include "common/common_funcs.h"
#ifdef _WIN32 #ifdef _WIN32
#include <windows.h> #include <windows.h>
#else
#include <string.h>
#endif #endif
// Neither Android nor OS X support TLS // Neither Android nor OS X support TLS

View file

@ -4,7 +4,9 @@
#include <boost/range/algorithm.hpp> #include <boost/range/algorithm.hpp>
#include "common/common.h" #include "common/common_funcs.h"
#include "common/common_paths.h"
#include "common/logging/log.h"
#include "common/string_util.h" #include "common/string_util.h"
#ifdef _MSC_VER #ifdef _MSC_VER

View file

@ -10,7 +10,7 @@
#include <sstream> #include <sstream>
#include <vector> #include <vector>
#include "common/common.h" #include "common/common_types.h"
namespace Common { namespace Common {

View file

@ -5,8 +5,10 @@
#pragma once #pragma once
#include <map> #include <map>
#include <string>
#include <utility>
#include "common/common.h" #include "common/common_types.h"
struct TSymbol struct TSymbol
{ {

View file

@ -4,7 +4,6 @@
#pragma once #pragma once
// Don't include common.h here as it will break LogManager
#include "common/common_types.h" #include "common/common_types.h"
#include <cstdio> #include <cstdio>
#include <cstring> #include <cstring>

View file

@ -9,8 +9,6 @@
#include <boost/range/algorithm_ext/erase.hpp> #include <boost/range/algorithm_ext/erase.hpp>
#include "common/common.h"
namespace Common { namespace Common {
template<class T, unsigned int N> template<class T, unsigned int N>

View file

@ -6,7 +6,7 @@
#include <map> #include <map>
#include "common/common.h" #include "common/common_types.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

@ -12,9 +12,9 @@
#include <sys/time.h> #include <sys/time.h>
#endif #endif
#include "common/common.h" #include "common/common_types.h"
#include "common/timer.h"
#include "common/string_util.h" #include "common/string_util.h"
#include "common/timer.h"
namespace Common namespace Common
{ {

View file

@ -4,7 +4,7 @@
#pragma once #pragma once
#include "common/common.h" #include "common/common_types.h"
#include <string> #include <string>
namespace Common namespace Common

View file

@ -4,7 +4,6 @@
#pragma once #pragma once
#include "common/common.h"
#include "common/common_types.h" #include "common/common_types.h"
#include "core/arm/skyeye_common/arm_regformat.h" #include "core/arm/skyeye_common/arm_regformat.h"

View file

@ -2,6 +2,8 @@
// Licensed under GPLv2 or any later version // Licensed under GPLv2 or any later version
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include <cstring>
#include "common/make_unique.h" #include "common/make_unique.h"
#include "core/arm/skyeye_common/armemu.h" #include "core/arm/skyeye_common/armemu.h"

View file

@ -20,7 +20,6 @@
/* Note: this file handles interface with arm core and vfp registers */ /* Note: this file handles interface with arm core and vfp registers */
#include "common/common.h"
#include "common/logging/log.h" #include "common/logging/log.h"
#include "core/arm/skyeye_common/armdefs.h" #include "core/arm/skyeye_common/armdefs.h"

View file

@ -3,6 +3,7 @@
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "common/common_types.h" #include "common/common_types.h"
#include "common/logging/log.h"
#include "core/core.h" #include "core/core.h"
#include "core/core_timing.h" #include "core/core_timing.h"

View file

@ -21,7 +21,7 @@
#include <functional> #include <functional>
#include "common/common.h" #include "common/common_types.h"
extern int g_clock_rate_arm11; extern int g_clock_rate_arm11;

View file

@ -6,6 +6,7 @@
#include "common/common_types.h" #include "common/common_types.h"
#include "common/file_util.h" #include "common/file_util.h"
#include "common/logging/log.h"
#include "common/make_unique.h" #include "common/make_unique.h"
#include "core/file_sys/archive_extsavedata.h" #include "core/file_sys/archive_extsavedata.h"

View file

@ -6,6 +6,7 @@
#include "common/common_types.h" #include "common/common_types.h"
#include "common/file_util.h" #include "common/file_util.h"
#include "common/logging/log.h"
#include "common/make_unique.h" #include "common/make_unique.h"
#include "core/file_sys/archive_romfs.h" #include "core/file_sys/archive_romfs.h"

View file

@ -6,6 +6,7 @@
#include "common/common_types.h" #include "common/common_types.h"
#include "common/file_util.h" #include "common/file_util.h"
#include "common/logging/log.h"
#include "common/make_unique.h" #include "common/make_unique.h"
#include "core/file_sys/archive_savedata.h" #include "core/file_sys/archive_savedata.h"

View file

@ -3,6 +3,7 @@
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "common/file_util.h" #include "common/file_util.h"
#include "common/logging/log.h"
#include "common/make_unique.h" #include "common/make_unique.h"
#include "core/file_sys/archive_savedatacheck.h" #include "core/file_sys/archive_savedatacheck.h"

View file

@ -6,6 +6,7 @@
#include "common/common_types.h" #include "common/common_types.h"
#include "common/file_util.h" #include "common/file_util.h"
#include "common/logging/log.h"
#include "common/make_unique.h" #include "common/make_unique.h"
#include "core/file_sys/archive_sdmc.h" #include "core/file_sys/archive_sdmc.h"

View file

@ -6,6 +6,7 @@
#include "common/common_types.h" #include "common/common_types.h"
#include "common/file_util.h" #include "common/file_util.h"
#include "common/logging/log.h"
#include "common/make_unique.h" #include "common/make_unique.h"
#include "core/file_sys/disk_archive.h" #include "core/file_sys/disk_archive.h"

View file

@ -4,7 +4,6 @@
#pragma once #pragma once
#include "common/common.h"
#include "common/common_types.h" #include "common/common_types.h"
//////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////

View file

@ -6,6 +6,7 @@
#include "common/common_types.h" #include "common/common_types.h"
#include "common/file_util.h" #include "common/file_util.h"
#include "common/logging/log.h"
#include "common/make_unique.h" #include "common/make_unique.h"
#include "core/file_sys/ivfc_archive.h" #include "core/file_sys/ivfc_archive.h"

View file

@ -3,6 +3,7 @@
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "common/common_types.h" #include "common/common_types.h"
#include "common/logging/log.h"
#include "core/mem_map.h" #include "core/mem_map.h"

View file

@ -6,7 +6,7 @@
#include <algorithm> #include <algorithm>
#include <vector> #include <vector>
#include "common/common.h" #include "common/assert.h"
#include "core/hle/kernel/kernel.h" #include "core/hle/kernel/kernel.h"
#include "core/hle/kernel/event.h" #include "core/hle/kernel/event.h"

View file

@ -4,7 +4,8 @@
#include <algorithm> #include <algorithm>
#include "common/common.h" #include "common/assert.h"
#include "common/logging/log.h"
#include "core/arm/arm_interface.h" #include "core/arm/arm_interface.h"
#include "core/core.h" #include "core/core.h"

View file

@ -10,7 +10,8 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include "common/common.h" #include "common/common_types.h"
#include "core/hle/hle.h" #include "core/hle/hle.h"
#include "core/hle/result.h" #include "core/hle/result.h"

View file

@ -7,7 +7,7 @@
#include <boost/range/algorithm_ext/erase.hpp> #include <boost/range/algorithm_ext/erase.hpp>
#include "common/common.h" #include "common/assert.h"
#include "core/hle/kernel/kernel.h" #include "core/hle/kernel/kernel.h"
#include "core/hle/kernel/mutex.h" #include "core/hle/kernel/mutex.h"

View file

@ -2,7 +2,7 @@
// Licensed under GPLv2 or any later version // Licensed under GPLv2 or any later version
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "common/common.h" #include "common/assert.h"
#include "core/hle/kernel/kernel.h" #include "core/hle/kernel/kernel.h"
#include "core/hle/kernel/semaphore.h" #include "core/hle/kernel/semaphore.h"

View file

@ -2,7 +2,7 @@
// Licensed under GPLv2 or any later version // Licensed under GPLv2 or any later version
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "common/common.h" #include "common/logging/log.h"
#include "core/mem_map.h" #include "core/mem_map.h"
#include "core/hle/kernel/shared_memory.h" #include "core/hle/kernel/shared_memory.h"

View file

@ -6,7 +6,9 @@
#include <list> #include <list>
#include <vector> #include <vector>
#include "common/common.h" #include "common/assert.h"
#include "common/common_types.h"
#include "common/logging/log.h"
#include "common/math_util.h" #include "common/math_util.h"
#include "common/thread_queue_list.h" #include "common/thread_queue_list.h"

View file

@ -2,7 +2,8 @@
// Licensed under GPLv2 or any later version // Licensed under GPLv2 or any later version
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "common/common.h" #include "common/assert.h"
#include "common/logging/log.h"
#include "core/core_timing.h" #include "core/core_timing.h"
#include "core/hle/kernel/kernel.h" #include "core/hle/kernel/kernel.h"

View file

@ -8,6 +8,7 @@
#include <type_traits> #include <type_traits>
#include <utility> #include <utility>
#include "common/assert.h"
#include "common/bit_field.h" #include "common/bit_field.h"
#include "common/common_funcs.h" #include "common/common_funcs.h"
#include "common/common_types.h" #include "common/common_types.h"

View file

@ -2,6 +2,8 @@
// Licensed under GPLv2 or any later version // Licensed under GPLv2 or any later version
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "common/logging/log.h"
#include "core/hle/hle.h" #include "core/hle/hle.h"
#include "core/hle/service/am_sys.h" #include "core/hle/service/am_sys.h"

View file

@ -2,7 +2,9 @@
// Licensed under GPLv2 or any later version // Licensed under GPLv2 or any later version
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "common/common_paths.h"
#include "common/file_util.h" #include "common/file_util.h"
#include "common/logging/log.h"
#include "core/hle/service/service.h" #include "core/hle/service/service.h"
#include "core/hle/service/apt/apt.h" #include "core/hle/service/apt/apt.h"

View file

@ -3,9 +3,6 @@
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "common/common.h"
#include "common/file_util.h"
#include "core/hle/hle.h" #include "core/hle/hle.h"
#include "core/hle/service/apt/apt.h" #include "core/hle/service/apt/apt.h"
#include "core/hle/service/apt/apt_s.h" #include "core/hle/service/apt/apt_s.h"

View file

@ -3,7 +3,6 @@
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "common/common.h"
#include "common/file_util.h" #include "common/file_util.h"
#include "core/hle/service/apt/apt.h" #include "core/hle/service/apt/apt.h"

View file

@ -4,6 +4,7 @@
#include <algorithm> #include <algorithm>
#include "common/logging/log.h"
#include "common/string_util.h" #include "common/string_util.h"
#include "core/file_sys/file_backend.h" #include "core/file_sys/file_backend.h"

View file

@ -3,7 +3,9 @@
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "common/file_util.h" #include "common/file_util.h"
#include "common/logging/log.h"
#include "common/string_util.h" #include "common/string_util.h"
#include "core/settings.h" #include "core/settings.h"
#include "core/file_sys/archive_systemsavedata.h" #include "core/file_sys/archive_systemsavedata.h"
#include "core/hle/hle.h" #include "core/hle/hle.h"

View file

@ -2,6 +2,8 @@
// Licensed under GPLv2 or any later version // Licensed under GPLv2 or any later version
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "common/logging/log.h"
#include "core/hle/hle.h" #include "core/hle/hle.h"
#include "core/hle/kernel/event.h" #include "core/hle/kernel/event.h"
#include "core/hle/service/dsp_dsp.h" #include "core/hle/service/dsp_dsp.h"

View file

@ -2,6 +2,8 @@
// Licensed under GPLv2 or any later version // Licensed under GPLv2 or any later version
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "common/logging/log.h"
#include "core/hle/hle.h" #include "core/hle/hle.h"
#include "core/hle/service/err_f.h" #include "core/hle/service/err_f.h"

View file

@ -9,6 +9,7 @@
#include "common/common_types.h" #include "common/common_types.h"
#include "common/file_util.h" #include "common/file_util.h"
#include "common/logging/log.h"
#include "common/make_unique.h" #include "common/make_unique.h"
#include "common/math_util.h" #include "common/math_util.h"

View file

@ -2,10 +2,13 @@
// Licensed under GPLv2 or any later version // Licensed under GPLv2 or any later version
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "common/common.h" #include "common/assert.h"
#include "common/common_types.h"
#include "common/file_util.h" #include "common/file_util.h"
#include "common/logging/log.h"
#include "common/scope_exit.h" #include "common/scope_exit.h"
#include "common/string_util.h" #include "common/string_util.h"
#include "core/hle/result.h" #include "core/hle/result.h"
#include "core/hle/service/fs/archive.h" #include "core/hle/service/fs/archive.h"
#include "core/hle/service/fs/fs_user.h" #include "core/hle/service/fs/fs_user.h"

View file

@ -2,6 +2,8 @@
// Licensed under GPLv2 or any later version // Licensed under GPLv2 or any later version
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "common/logging/log.h"
#include "core/hle/service/service.h" #include "core/hle/service/service.h"
#include "core/hle/service/hid/hid.h" #include "core/hle/service/hid/hid.h"
#include "core/hle/service/hid/hid_spvr.h" #include "core/hle/service/hid/hid_spvr.h"

View file

@ -2,6 +2,8 @@
// Licensed under GPLv2 or any later version // Licensed under GPLv2 or any later version
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "common/logging/log.h"
#include "core/hle/hle.h" #include "core/hle/hle.h"
#include "core/hle/service/ldr_ro.h" #include "core/hle/service/ldr_ro.h"

View file

@ -2,6 +2,8 @@
// Licensed under GPLv2 or any later version // Licensed under GPLv2 or any later version
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "common/logging/log.h"
#include "core/hle/hle.h" #include "core/hle/hle.h"
#include "core/hle/service/nim_u.h" #include "core/hle/service/nim_u.h"

View file

@ -3,8 +3,6 @@
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "common/common.h"
#include "core/hle/hle.h" #include "core/hle/hle.h"
#include "core/hle/service/ns_s.h" #include "core/hle/service/ns_s.h"

View file

@ -2,6 +2,8 @@
// Licensed under GPLv2 or any later version // Licensed under GPLv2 or any later version
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "common/logging/log.h"
#include "core/hle/hle.h" #include "core/hle/hle.h"
#include "core/hle/kernel/event.h" #include "core/hle/kernel/event.h"
#include "core/hle/service/nwm_uds.h" #include "core/hle/service/nwm_uds.h"

View file

@ -2,7 +2,7 @@
// Licensed under GPLv2 or any later version // Licensed under GPLv2 or any later version
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "common/make_unique.h" #include "common/logging/log.h"
#include "core/hle/hle.h" #include "core/hle/hle.h"
#include "core/hle/service/ptm/ptm.h" #include "core/hle/service/ptm/ptm.h"

View file

@ -2,7 +2,7 @@
// Licensed under GPLv2 or any later version // Licensed under GPLv2 or any later version
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "common/common.h" #include "common/logging/log.h"
#include "common/string_util.h" #include "common/string_util.h"
#include "core/hle/service/service.h" #include "core/hle/service/service.h"

View file

@ -9,7 +9,7 @@
#include <boost/container/flat_map.hpp> #include <boost/container/flat_map.hpp>
#include "common/common.h" #include "common/common_types.h"
#include "core/hle/kernel/kernel.h" #include "core/hle/kernel/kernel.h"
#include "core/hle/kernel/session.h" #include "core/hle/kernel/session.h"

View file

@ -2,6 +2,7 @@
// Licensed under GPLv2 or any later version // Licensed under GPLv2 or any later version
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "common/logging/log.h"
#include "common/platform.h" #include "common/platform.h"
#if EMU_PLATFORM == PLATFORM_WINDOWS #if EMU_PLATFORM == PLATFORM_WINDOWS

View file

@ -2,6 +2,8 @@
// Licensed under GPLv2 or any later version // Licensed under GPLv2 or any later version
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "common/logging/log.h"
#include "core/hle/hle.h" #include "core/hle/hle.h"
#include "core/hle/service/srv.h" #include "core/hle/service/srv.h"
#include "core/hle/kernel/event.h" #include "core/hle/kernel/event.h"

View file

@ -2,6 +2,8 @@
// Licensed under GPLv2 or any later version // Licensed under GPLv2 or any later version
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "common/logging/log.h"
#include "core/hle/hle.h" #include "core/hle/hle.h"
#include "core/hle/kernel/event.h" #include "core/hle/kernel/event.h"
#include "core/hle/service/y2r_u.h" #include "core/hle/service/y2r_u.h"

View file

@ -4,6 +4,7 @@
#include <map> #include <map>
#include "common/logging/log.h"
#include "common/profiler.h" #include "common/profiler.h"
#include "common/string_util.h" #include "common/string_util.h"
#include "common/symbols.h" #include "common/symbols.h"

View file

@ -6,8 +6,10 @@
#include <cstddef> #include <cstddef>
#include "common/common_types.h" #include "common/assert.h"
#include "common/bit_field.h" #include "common/bit_field.h"
#include "common/common_funcs.h"
#include "common/common_types.h"
namespace GPU { namespace GPU {

View file

@ -3,6 +3,7 @@
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "common/common_types.h" #include "common/common_types.h"
#include "common/logging/log.h"
#include "core/hw/hw.h" #include "core/hw/hw.h"
#include "core/hw/gpu.h" #include "core/hw/gpu.h"

View file

@ -2,7 +2,10 @@
// Licensed under GPLv2 or any later version // Licensed under GPLv2 or any later version
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include <cstring>
#include "common/common_types.h" #include "common/common_types.h"
#include "common/logging/log.h"
#include "core/arm/arm_interface.h" #include "core/arm/arm_interface.h"
#include "core/hle/hle.h" #include "core/hle/hle.h"

View file

@ -6,8 +6,9 @@
#include <cstddef> #include <cstddef>
#include "common/common_types.h"
#include "common/bit_field.h" #include "common/bit_field.h"
#include "common/common_funcs.h"
#include "common/common_types.h"
#define LCD_REG_INDEX(field_name) (offsetof(LCD::Regs, field_name) / sizeof(u32)) #define LCD_REG_INDEX(field_name) (offsetof(LCD::Regs, field_name) / sizeof(u32))

View file

@ -5,6 +5,8 @@
#include <algorithm> #include <algorithm>
#include <vector> #include <vector>
#include "common/logging/log.h"
#include "core/file_sys/archive_romfs.h" #include "core/file_sys/archive_romfs.h"
#include "core/loader/elf.h" #include "core/loader/elf.h"
#include "core/loader/ncch.h" #include "core/loader/ncch.h"

View file

@ -5,8 +5,9 @@
#include <string> #include <string>
#include <memory> #include <memory>
#include "common/common.h" #include "common/common_types.h"
#include "common/file_util.h" #include "common/file_util.h"
#include "common/logging/log.h"
#include "common/symbols.h" #include "common/symbols.h"
#include "core/mem_map.h" #include "core/mem_map.h"

View file

@ -4,6 +4,7 @@
#include <string> #include <string>
#include "common/logging/log.h"
#include "common/make_unique.h" #include "common/make_unique.h"
#include "core/file_sys/archive_romfs.h" #include "core/file_sys/archive_romfs.h"

View file

@ -6,7 +6,7 @@
#include <vector> #include <vector>
#include "common/common.h" #include "common/common_types.h"
#include "common/file_util.h" #include "common/file_util.h"
//////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////

View file

@ -4,6 +4,8 @@
#include <memory> #include <memory>
#include "common/logging/log.h"
#include "core/loader/ncch.h" #include "core/loader/ncch.h"
#include "core/hle/kernel/kernel.h" #include "core/hle/kernel/kernel.h"
#include "core/mem_map.h" #include "core/mem_map.h"

View file

@ -4,7 +4,9 @@
#pragma once #pragma once
#include "common/common.h" #include <memory>
#include "common/common_types.h"
#include "core/loader/loader.h" #include "core/loader/loader.h"

View file

@ -2,7 +2,9 @@
// Licensed under GPLv2 or any later version // Licensed under GPLv2 or any later version
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "common/common.h" #include "common/common_funcs.h"
#include "common/common_types.h"
#include "common/logging/log.h"
#include "common/mem_arena.h" #include "common/mem_arena.h"
#include "core/mem_map.h" #include "core/mem_map.h"

View file

@ -4,7 +4,9 @@
#include <map> #include <map>
#include "common/common.h" #include "common/common_types.h"
#include "common/logging/log.h"
#include "common/swap.h"
#include "core/mem_map.h" #include "core/mem_map.h"
#include "core/hw/hw.h" #include "core/hw/hw.h"

View file

@ -5,6 +5,8 @@
#pragma once #pragma once
#include "common/common_types.h" #include "common/common_types.h"
#include "common/swap.h"
#include "video_core/math.h" #include "video_core/math.h"
namespace Color { namespace Color {

View file

@ -10,8 +10,11 @@
#include <map> #include <map>
#include <vector> #include <vector>
#include "common/assert.h"
#include "common/bit_field.h" #include "common/bit_field.h"
#include "common/common_funcs.h"
#include "common/common_types.h" #include "common/common_types.h"
#include "common/logging/log.h"
#include "core/mem_map.h" #include "core/mem_map.h"

View file

@ -4,7 +4,7 @@
#pragma once #pragma once
#include "common/common.h" #include "common/common_types.h"
class RendererBase : NonCopyable { class RendererBase : NonCopyable {
public: public:

View file

@ -9,6 +9,7 @@
#include "core/settings.h" #include "core/settings.h"
#include "common/emu_window.h" #include "common/emu_window.h"
#include "common/logging/log.h"
#include "common/profiler_reporting.h" #include "common/profiler_reporting.h"
#include "video_core/video_core.h" #include "video_core/video_core.h"

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