diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2022-11-04 15:53:02 +0300 |
---|---|---|
committer | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2022-11-04 15:53:02 +0300 |
commit | ee11aae7f78810c4e002e26b03754a46d0a18ddd (patch) | |
tree | f3e9dbd43ab59e69cb1b1a9e2f92f6bc7eecf563 /FdsDiskFile.cs | |
parent | c02d5efa89d71092675d73744e76e9aeb518d813 (diff) |
Nullable types
Diffstat (limited to 'FdsDiskFile.cs')
-rw-r--r-- | FdsDiskFile.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/FdsDiskFile.cs b/FdsDiskFile.cs index c3c2e53..88e3dce 100644 --- a/FdsDiskFile.cs +++ b/FdsDiskFile.cs @@ -62,8 +62,8 @@ namespace com.clusterrr.Famicom.Containers /// <param name="dataBlock">File data block</param>
public FdsDiskFile(FdsBlockFileHeader headerBlock, FdsBlockFileData dataBlock)
{
- this.HeaderBlock = headerBlock;
- this.DataBlock = dataBlock;
+ this.headerBlock = headerBlock;
+ this.dataBlock = dataBlock;
headerBlock.FileSize = (ushort)dataBlock.Data.Count();
}
@@ -72,8 +72,8 @@ namespace com.clusterrr.Famicom.Containers /// </summary>
public FdsDiskFile()
{
- this.HeaderBlock = new FdsBlockFileHeader();
- this.DataBlock = new FdsBlockFileData();
+ this.headerBlock = new FdsBlockFileHeader();
+ this.dataBlock = new FdsBlockFileData();
HeaderBlock.FileSize = (ushort)DataBlock.Data.Count();
}
|