VideoCommon: support dynamically updating game mods at runtime

This commit is contained in:
iwubcode
2022-03-15 01:46:58 -05:00
parent 892678648e
commit 69839df1eb
4 changed files with 43 additions and 1 deletions

View File

@ -9,10 +9,12 @@
#pragma once
#include <optional>
#include <string>
#include <vector>
#include "Common/CommonTypes.h"
#include "VideoCommon/GraphicsModSystem/Config/GraphicsModGroup.h"
#include "VideoCommon/VideoCommon.h"
// Log in two categories, and save three other options in the same byte
@ -112,6 +114,7 @@ struct VideoConfig final
bool bEnableGPUTextureDecoding = false;
int iBitrateKbps = 0;
bool bGraphicMods = false;
std::optional<GraphicsModGroupConfig> graphics_mod_config;
// Hacks
bool bEFBAccessEnable = false;