Use ReShade Addon when available instead of hooking IDXGISwapChain::Present

This commit is contained in:
Soreepeong 2023-07-29 17:50:51 +09:00
parent ca3e4088f6
commit e40c317417
24 changed files with 6977 additions and 305 deletions

View file

@ -59,6 +59,9 @@
// https://github.com/nlohmann/json
#include "../lib/nlohmann-json/json.hpp"
// https://github.com/crosire/reshade/tree/main/include
#include "../lib/reshade/include/reshade.hpp"
#include "unicode.h"
// Commonly used macros
@ -67,6 +70,7 @@
// Global variables
extern HMODULE g_hModule;
extern HINSTANCE g_hGameInstance;
extern bool g_bReshadeAvailable;
extern std::optional<CoreCLR> g_clr;
#endif //PCH_H