2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Citra: Fix the includes a bit, thanks to include-what-you-use.

This commit is contained in:
Emmanuel Gil Peyrot 2015-06-20 20:34:41 +01:00
parent ce0cfd62d9
commit 79aa1b0808
5 changed files with 19 additions and 8 deletions

View file

@ -2,13 +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 <thread> #include <string>
#include "common/logging/log.h" #include "common/logging/log.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"
#include "common/scope_exit.h"
#include "core/settings.h" #include "core/settings.h"
#include "core/system.h" #include "core/system.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.
#define GLFW_INCLUDE_NONE
#include <GLFW/glfw3.h> #include <GLFW/glfw3.h>
#include <inih/cpp/INIReader.h>
#include "citra/default_ini.h" #include "citra/default_ini.h"
@ -10,7 +12,6 @@
#include "common/logging/log.h" #include "common/logging/log.h"
#include "core/settings.h" #include "core/settings.h"
#include "core/core.h"
#include "config.h" #include "config.h"

View file

@ -4,11 +4,9 @@
#pragma once #pragma once
#include <map> #include <string>
#include <inih/cpp/INIReader.h> class INIReader;
#include "common/common_types.h"
class Config { class Config {
INIReader* glfw_config; INIReader* glfw_config;

View file

@ -2,13 +2,25 @@
// 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 <algorithm>
#include <cstdlib>
#include <string>
// Lets use our own GL header, instead of one from GLFW.
#include "video_core/renderer_opengl/generated/gl_3_2_core.h"
#define GLFW_INCLUDE_NONE
#include <GLFW/glfw3.h> #include <GLFW/glfw3.h>
#include "common/assert.h"
#include "common/key_map.h"
#include "common/logging/log.h" #include "common/logging/log.h"
#include "common/scm_rev.h"
#include "common/string_util.h"
#include "video_core/video_core.h" #include "video_core/video_core.h"
#include "core/settings.h" #include "core/settings.h"
#include "core/hle/service/hid/hid.h"
#include "citra/emu_window/emu_window_glfw.h" #include "citra/emu_window/emu_window_glfw.h"

View file

@ -4,6 +4,8 @@
#pragma once #pragma once
#include <utility>
#include "common/emu_window.h" #include "common/emu_window.h"
struct GLFWwindow; struct GLFWwindow;