mirror of https://github.com/PCSX2/pcsx2.git
Config: Change hw mipmap from enum to bool.
This commit is contained in:
parent
8d3617bb71
commit
06efa93070
|
@ -286,14 +286,6 @@ enum class TriFiltering : s8
|
|||
Forced,
|
||||
};
|
||||
|
||||
enum class HWMipmapLevel : s8
|
||||
{
|
||||
Automatic = -1,
|
||||
Off,
|
||||
Basic,
|
||||
Full
|
||||
};
|
||||
|
||||
enum class AccBlendLevel : u8
|
||||
{
|
||||
Minimum,
|
||||
|
@ -620,6 +612,7 @@ struct Pcsx2Config
|
|||
AutoFlushSW : 1,
|
||||
PreloadFrameWithGSData : 1,
|
||||
Mipmap : 1,
|
||||
HWMipmap : 1,
|
||||
ManualUserHacks : 1,
|
||||
UserHacks_AlignSpriteX : 1,
|
||||
UserHacks_CPUFBConversion : 1,
|
||||
|
@ -673,7 +666,6 @@ struct Pcsx2Config
|
|||
GSRendererType Renderer = GSRendererType::Auto;
|
||||
float UpscaleMultiplier = 1.0f;
|
||||
|
||||
HWMipmapLevel HWMipmap = HWMipmapLevel::Automatic;
|
||||
AccBlendLevel AccurateBlendingUnit = AccBlendLevel::Basic;
|
||||
BiFiltering TextureFiltering = BiFiltering::PS2;
|
||||
TexturePreloadingLevel TexturePreloading = TexturePreloadingLevel::Full;
|
||||
|
|
|
@ -642,6 +642,7 @@ Pcsx2Config::GSOptions::GSOptions()
|
|||
AutoFlushSW = true;
|
||||
PreloadFrameWithGSData = false;
|
||||
Mipmap = true;
|
||||
HWMipmap = true;
|
||||
|
||||
ManualUserHacks = false;
|
||||
UserHacks_AlignSpriteX = false;
|
||||
|
@ -708,7 +709,6 @@ bool Pcsx2Config::GSOptions::OptionsAreEqual(const GSOptions& right) const
|
|||
OpEqu(Renderer) &&
|
||||
OpEqu(UpscaleMultiplier) &&
|
||||
|
||||
OpEqu(HWMipmap) &&
|
||||
OpEqu(AccurateBlendingUnit) &&
|
||||
OpEqu(TextureFiltering) &&
|
||||
OpEqu(TexturePreloading) &&
|
||||
|
@ -893,7 +893,7 @@ void Pcsx2Config::GSOptions::LoadSave(SettingsWrapper& wrap)
|
|||
// ~51x would the upper bound here for 32768x32768 textures, but you'll run out VRAM long before then.
|
||||
UpscaleMultiplier = std::clamp(UpscaleMultiplier, 0.5f, 50.0f);
|
||||
|
||||
SettingsWrapIntEnumEx(HWMipmap, "mipmap_hw");
|
||||
SettingsWrapBitBoolEx(HWMipmap, "hw_mipmap");
|
||||
SettingsWrapIntEnumEx(AccurateBlendingUnit, "accurate_blending_unit");
|
||||
SettingsWrapIntEnumEx(TextureFiltering, "filter");
|
||||
SettingsWrapIntEnumEx(TexturePreloading, "texture_preloading");
|
||||
|
|
Loading…
Reference in New Issue