config: decouple header from pch

This commit is contained in:
Hyper 2024-10-21 22:30:11 +01:00
parent fae7591b53
commit 361cf21681
7 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,5 @@
#include "config.h"
void Config::Load()
{
auto configPath = GetConfigPath();

View file

@ -1,6 +1,7 @@
#include <cpu/guest_code.h>
#include "api/SWA.h"
#include "ui/window.h"
#include "config.h"
constexpr float m_baseAspectRatio = 16.0f / 9.0f;

View file

@ -8,8 +8,9 @@
#include <xxHashMap.h>
#include <shader/shader_cache.h>
#include "video.h"
#include "gpu/video.h"
#include "ui/window.h"
#include "config.h"
#include "shader/copy_vs.hlsl.dxil.h"
#include "shader/copy_vs.hlsl.spirv.h"

View file

@ -12,6 +12,7 @@
#include "xam.h"
#include "xdm.h"
#include <timeapi.h>
#include "config.h"
#include <ntstatus.h>

View file

@ -11,6 +11,7 @@
#include <xex.h>
#include <apu/audio.h>
#include <hid/hid.h>
#include "config.h"
#define GAME_XEX_PATH "game:\\default.xex"

View file

@ -22,4 +22,3 @@
#include "framework.h"
#include "mutex.h"
#include "config.h"

View file

@ -2,6 +2,7 @@
#include <SDL.h>
#include "res/icon.h"
#include "config.h"
struct Window
{