Improve wording of missing firmware message

This commit is contained in:
YoshiRulz 2025-05-13 01:39:14 +10:00
parent dc67699b9e
commit e7e31d5792
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ namespace BizHawk.Client.Common
}
private (byte[] FW, string Path) GetFirmwareWithPathOrThrow(FirmwareID id, string? msg)
=> GetFirmwareWithPath(id) ?? throw new MissingFirmwareException($"Couldn't find required firmware {id}. This is fatal{(msg is null ? "." : $": {msg}")}");
=> GetFirmwareWithPath(id) ?? throw new MissingFirmwareException($"Couldn't find required firmware {id}. This prevents the core from loading{(msg is null ? "." : $": {msg}")}");
public byte[]? GetFirmware(FirmwareID id, string? msg = null)
{