From 1c0813d09d99ebe39ef0a47557304fc8470fb859 Mon Sep 17 00:00:00 2001 From: Evan Husted Date: Sun, 9 Feb 2025 00:50:11 -0600 Subject: [PATCH] misc: chore: [ci skip] shorten lines in FormatterSpecBase.Format & consistently format them --- src/Ryujinx/Utilities/PlayReport/Specs.cs | 24 +++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/Ryujinx/Utilities/PlayReport/Specs.cs b/src/Ryujinx/Utilities/PlayReport/Specs.cs index be9232dc8..b81a599a2 100644 --- a/src/Ryujinx/Utilities/PlayReport/Specs.cs +++ b/src/Ryujinx/Utilities/PlayReport/Specs.cs @@ -213,20 +213,20 @@ namespace Ryujinx.Ava.Utilities.PlayReport switch (Formatter) { - case SingleValueFormatter svf when data is MessagePackObject mpo: - formattedValue = svf(new SingleValue(mpo) { Application = appMeta, PlayReport = playReport }); + case SingleValueFormatter svf when data is MessagePackObject match: + formattedValue = svf( + new SingleValue(match) { Application = appMeta, PlayReport = playReport } + ); return true; - case MultiValueFormatter mvf when data is List messagePackObjects: - formattedValue = - mvf(new MultiValue(messagePackObjects) { Application = appMeta, PlayReport = playReport }); + case MultiValueFormatter mvf when data is List matches: + formattedValue = mvf( + new MultiValue(matches) { Application = appMeta, PlayReport = playReport } + ); return true; - case SparseMultiValueFormatter smvf when - data is Dictionary sparseMessagePackObjects: - formattedValue = - smvf(new SparseMultiValue(sparseMessagePackObjects) - { - Application = appMeta, PlayReport = playReport - }); + case SparseMultiValueFormatter smvf when data is Dictionary sparseMatches: + formattedValue = smvf( + new SparseMultiValue(sparseMatches) { Application = appMeta, PlayReport = playReport } + ); return true; default: throw new InvalidOperationException("Formatter delegate is not of a known type!");