daily update on 20240427 by nitload youmu

This commit is contained in:
YoumuLiu
2024-04-28 02:01:30 +08:00
parent f83a130074
commit 0e01d99e1e
35 changed files with 406 additions and 262 deletions
+11 -3
View File
@@ -32,7 +32,7 @@ using StgSharp.Data.FileIO;
using System;
using System.Collections.Generic;
using System.Reflection.Metadata.Ecma335;
using System.IO;
using System.Text;
namespace StgSharp.Data
@@ -52,10 +52,18 @@ namespace StgSharp.Data
public SSDSegment FindSegment(int id)
{
SSDSegment s = segments[id];
if (s.)
if (s.ID != id)
{
foreach (var item in segments)
{
if (item.ID == id)
{
s = item;
break;
}
}
}
return s;
}
}