mirror of
https://github.com/RPCS3/discord-bot.git
synced 2026-01-31 01:25:22 +01:00
fix old typo
This commit is contained in:
@@ -164,7 +164,7 @@ internal static partial class LogParserResult
|
||||
else
|
||||
*/
|
||||
if (arRatio != ratio && !canBeWideOrSquare)
|
||||
notes.Add($"⚠ Selected `Resolution` has aspect ratio of {ratio.numerator}:{ratio.denumerator}, but `Aspect Ratio` is set to {selectedRatio}");
|
||||
notes.Add($"⚠ Selected `Resolution` has aspect ratio of {ratio.numerator}:{ratio.denominator}, but `Aspect Ratio` is set to {selectedRatio}");
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -172,7 +172,7 @@ internal static partial class LogParserResult
|
||||
if (canBeWideOrSquare)
|
||||
notes.Add("ℹ Setting `Aspect Ratio` to `16:9` or `4:3` instead of `Auto` may improve compatibility");
|
||||
else
|
||||
notes.Add($"ℹ Setting `Aspect Ratio` to `{ratio.numerator}:{ratio.denumerator}` instead of `Auto` may improve compatibility");
|
||||
notes.Add($"ℹ Setting `Aspect Ratio` to `{ratio.numerator}:{ratio.denominator}` instead of `Auto` may improve compatibility");
|
||||
}
|
||||
if (height < 720 && items["game_category"] != "1P")
|
||||
notes.Add("⚠ `Resolution` below 720p will not improve performance");
|
||||
|
||||
@@ -1008,10 +1008,10 @@ internal static partial class LogParserResult
|
||||
return builder;
|
||||
}
|
||||
|
||||
private static (int numerator, int denumerator) Reduce(int numerator, int denumerator)
|
||||
private static (int numerator, int denominator) Reduce(int numerator, int denominator)
|
||||
{
|
||||
var gcd = Gcd(numerator, denumerator);
|
||||
return (numerator / gcd, denumerator / gcd);
|
||||
var gcd = Gcd(numerator, denominator);
|
||||
return (numerator / gcd, denominator / gcd);
|
||||
}
|
||||
|
||||
private static int Gcd(int a, int b)
|
||||
|
||||
Reference in New Issue
Block a user