mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2025-03-15 05:44:47 +00:00
misc: chore: [ci skip] fix redundant qualified name
This commit is contained in:
parent
27cdf876a2
commit
a23c6bf547
1 changed files with 3 additions and 3 deletions
|
@ -17,12 +17,12 @@ namespace Ryujinx.Ava.Systems.Configuration
|
||||||
public static class FileTypesExtensions
|
public static class FileTypesExtensions
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the current <see cref="ConfigurationState.UISection.ShownFileTypeSettings"/> value for the correlating FileType name.
|
/// Gets the current <see cref="ShownFileTypeSettings"/> value for the correlating FileType name.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="type">The name of the <see cref="ConfigurationState.UISection.ShownFileTypeSettings"/> parameter to get the value of.</param>
|
/// <param name="type">The name of the <see cref="ShownFileTypeSettings"/> parameter to get the value of.</param>
|
||||||
/// <param name="config">The config instance to get the value from.</param>
|
/// <param name="config">The config instance to get the value from.</param>
|
||||||
/// <returns>The current value of the setting. Value is <see langword="true"/> if the file type is to be shown on the games list, <see langword="false"/> otherwise.</returns>
|
/// <returns>The current value of the setting. Value is <see langword="true"/> if the file type is to be shown on the games list, <see langword="false"/> otherwise.</returns>
|
||||||
public static bool GetConfigValue(this FileTypes type, ConfigurationState.UISection.ShownFileTypeSettings config) => type switch
|
public static bool GetConfigValue(this FileTypes type, ShownFileTypeSettings config) => type switch
|
||||||
{
|
{
|
||||||
FileTypes.NSP => config.NSP.Value,
|
FileTypes.NSP => config.NSP.Value,
|
||||||
FileTypes.PFS0 => config.PFS0.Value,
|
FileTypes.PFS0 => config.PFS0.Value,
|
||||||
|
|
Loading…
Add table
Reference in a new issue