Add note around large files

This commit is contained in:
Matt Nadareski
2021-02-17 17:13:39 -08:00
parent b6e25334fd
commit 7b31b36c97

View File

@@ -411,6 +411,7 @@ namespace SabreTools.DatTools
{
if (item is Rom rom)
{
// TODO: Should there be more than just a log if a single item is larger than the chunksize?
machineSize += rom.Size ?? 0;
if ((rom.Size ?? 0) > chunkSize)
logger.Error($"{rom.GetName() ?? string.Empty} in {machine} is larger than {chunkSize}");