mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-02-06 05:35:35 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0d62cbd1e9 | ||
|
|
bf753262a5 | ||
|
|
5510b5d19d |
@@ -4,7 +4,7 @@
|
||||
<!-- Assembly Properties -->
|
||||
<TargetFrameworks>net48;net6.0;net7.0;net8.0</TargetFrameworks>
|
||||
<RuntimeIdentifiers>win-x86;win-x64;linux-x64;osx-x64</RuntimeIdentifiers>
|
||||
<Version>1.1.4</Version>
|
||||
<Version>1.1.6</Version>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
|
||||
<!-- Package Properties -->
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="SabreTools.IO" Version="1.1.1" />
|
||||
<PackageReference Include="SabreTools.Models" Version="1.1.2" />
|
||||
<PackageReference Include="SabreTools.Models" Version="1.1.4" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
@@ -171,6 +171,7 @@ namespace SabreTools.Serialization.Streams
|
||||
{
|
||||
case DiscTypeIdentifierROM:
|
||||
case DiscTypeIdentifierROMUltra:
|
||||
case DiscTypeIdentifierXGD4:
|
||||
body.FormatDependentContents = data.ReadBytes(52);
|
||||
break;
|
||||
case DiscTypeIdentifierReWritable:
|
||||
|
||||
@@ -209,7 +209,7 @@ namespace SabreTools.Serialization.Wrappers
|
||||
#if NET48
|
||||
public byte[] ReadFromDataSource(int position, int length)
|
||||
#else
|
||||
protected byte[]? ReadFromDataSource(int position, int length)
|
||||
public byte[]? ReadFromDataSource(int position, int length)
|
||||
#endif
|
||||
{
|
||||
// Validate the data source
|
||||
@@ -262,7 +262,7 @@ namespace SabreTools.Serialization.Wrappers
|
||||
#if NET48
|
||||
public List<string> ReadStringsFromDataSource(int position, int length, int charLimit = 5)
|
||||
#else
|
||||
protected List<string>? ReadStringsFromDataSource(int position, int length, int charLimit = 5)
|
||||
public List<string>? ReadStringsFromDataSource(int position, int length, int charLimit = 5)
|
||||
#endif
|
||||
{
|
||||
// Read the data as a byte array first
|
||||
|
||||
Reference in New Issue
Block a user