mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Fix when server does not send iNES headers.
This commit is contained in:
@@ -474,6 +474,8 @@ public static class Remote
|
|||||||
ProgressTask task = ctx.AddTask("Updating known iNES/NES 2.0 headers");
|
ProgressTask task = ctx.AddTask("Updating known iNES/NES 2.0 headers");
|
||||||
task.MaxValue = sync.Offsets.Count;
|
task.MaxValue = sync.Offsets.Count;
|
||||||
|
|
||||||
|
sync.NesHeaders ??= new();
|
||||||
|
|
||||||
foreach(NesHeaderDto header in sync.NesHeaders)
|
foreach(NesHeaderDto header in sync.NesHeaders)
|
||||||
{
|
{
|
||||||
task.Increment(1);
|
task.Increment(1);
|
||||||
|
|||||||
Reference in New Issue
Block a user