mirror of https://github.com/PCSX2/pcsx2.git
Config: Clang format Pcsx2Config
This commit is contained in:
parent
c18be9dde7
commit
a12ad1f627
|
@ -264,13 +264,20 @@ const char* Pcsx2Config::GSOptions::GetRendererName(GSRendererType type)
|
||||||
{
|
{
|
||||||
switch (type)
|
switch (type)
|
||||||
{
|
{
|
||||||
case GSRendererType::Auto: return "Auto";
|
case GSRendererType::Auto:
|
||||||
case GSRendererType::DX11: return "Direct3D 11";
|
return "Auto";
|
||||||
case GSRendererType::OGL: return "OpenGL";
|
case GSRendererType::DX11:
|
||||||
case GSRendererType::VK: return "Vulkan";
|
return "Direct3D 11";
|
||||||
case GSRendererType::SW: return "Software";
|
case GSRendererType::OGL:
|
||||||
case GSRendererType::Null: return "Null";
|
return "OpenGL";
|
||||||
default: return "";
|
case GSRendererType::VK:
|
||||||
|
return "Vulkan";
|
||||||
|
case GSRendererType::SW:
|
||||||
|
return "Software";
|
||||||
|
case GSRendererType::Null:
|
||||||
|
return "Null";
|
||||||
|
default:
|
||||||
|
return "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -342,8 +349,7 @@ bool Pcsx2Config::GSOptions::operator==(const GSOptions& right) const
|
||||||
OpEqu(AspectRatio) &&
|
OpEqu(AspectRatio) &&
|
||||||
OpEqu(FMVAspectRatioSwitch) &&
|
OpEqu(FMVAspectRatioSwitch) &&
|
||||||
|
|
||||||
OptionsAreEqual(right)
|
OptionsAreEqual(right));
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Pcsx2Config::GSOptions::OptionsAreEqual(const GSOptions& right) const
|
bool Pcsx2Config::GSOptions::OptionsAreEqual(const GSOptions& right) const
|
||||||
|
@ -401,8 +407,7 @@ bool Pcsx2Config::GSOptions::operator!=(const GSOptions& right) const
|
||||||
|
|
||||||
bool Pcsx2Config::GSOptions::RestartOptionsAreEqual(const GSOptions& right) const
|
bool Pcsx2Config::GSOptions::RestartOptionsAreEqual(const GSOptions& right) const
|
||||||
{
|
{
|
||||||
return
|
return OpEqu(Renderer) &&
|
||||||
OpEqu(Renderer) &&
|
|
||||||
OpEqu(Adapter) &&
|
OpEqu(Adapter) &&
|
||||||
OpEqu(UseDebugDevice) &&
|
OpEqu(UseDebugDevice) &&
|
||||||
OpEqu(UseBlitSwapChain) &&
|
OpEqu(UseBlitSwapChain) &&
|
||||||
|
|
Loading…
Reference in New Issue