Use helper method

fixes 73bb9b4bd
this is the only code style warning atm
This commit is contained in:
James Groom 2023-12-21 13:35:23 +10:00 committed by GitHub
parent a54de6d377
commit ea00f3be54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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}"));