From ea00f3be54aa93e67b810f2ab1e334e1bf32f6b3 Mon Sep 17 00:00:00 2001 From: James Groom Date: Thu, 21 Dec 2023 13:35:23 +1000 Subject: [PATCH] Use helper method fixes 73bb9b4bd this is the only code style warning atm --- src/BizHawk.Emulation.Cores/Arcades/MAME/MAME.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BizHawk.Emulation.Cores/Arcades/MAME/MAME.cs b/src/BizHawk.Emulation.Cores/Arcades/MAME/MAME.cs index d4cde330ca..6fffc072ae 100644 --- a/src/BizHawk.Emulation.Cores/Arcades/MAME/MAME.cs +++ b/src/BizHawk.Emulation.Cores/Arcades/MAME/MAME.cs @@ -45,7 +45,7 @@ namespace BizHawk.Emulation.Cores.Arcades.MAME $"Aspect Ratio: { _wAspect }:{ _hAspect }\r\n" + $"Framerate: { (float)VsyncNumerator / VsyncDenominator } " + $"({ VsyncNumerator } / { VsyncDenominator })\r\n" + - $"Driver Source File: { _driverSourceFile.Substring(_driverSourceFile.IndexOf("src"))}\r\n\r\n" + + $"Driver Source File: { _driverSourceFile.RemovePrefix("src")}\r\n\r\n" + text + (text == "" ? "" : "\r\n") + string.Join("\r\n", _romHashes.Select(static r => $"{r.Value} - {r.Key}"));