From 933e1616dbfab3ea6ac75b7f935543a22674b5f4 Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Sat, 31 May 2025 09:35:50 +1000 Subject: [PATCH] Fix code style warnings fixes f86b7aed6 --- src/BizHawk.Emulation.Cores/Computers/Doom/DSDA.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/BizHawk.Emulation.Cores/Computers/Doom/DSDA.cs b/src/BizHawk.Emulation.Cores/Computers/Doom/DSDA.cs index 177c62a2b7..7462035c23 100644 --- a/src/BizHawk.Emulation.Cores/Computers/Doom/DSDA.cs +++ b/src/BizHawk.Emulation.Cores/Computers/Doom/DSDA.cs @@ -1,13 +1,11 @@ using System.Collections.Generic; using System.Drawing; using System.IO; -using System.Linq; using System.Runtime.InteropServices; using System.Text; using BizHawk.BizInvoke; using BizHawk.Common; -using BizHawk.Common.CollectionExtensions; using BizHawk.Common.PathExtensions; using BizHawk.Common.StringExtensions; using BizHawk.Emulation.Common; @@ -86,7 +84,7 @@ namespace BizHawk.Emulation.Cores.Computers.Doom else { multiplier = _settings.ScaleFactor - resolutions.Length + 1; - resolution = resolutions.Last(); + resolution = resolutions[resolutions.Length - 1]; } _configFile = Encoding.ASCII.GetBytes(