mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-07-08 18:06:41 +00:00
Reduce enum overhead in metadata
This commit is contained in:
@@ -212,7 +212,7 @@ namespace SabreTools.Wrappers
|
||||
{
|
||||
// Determine the keys needed for this partition
|
||||
N3DSPartitionKeys? keys = GetDecryptionKeys(index, settings);
|
||||
if (keys == null)
|
||||
if (keys is null)
|
||||
{
|
||||
Console.WriteLine($"Partition {index} could not generate keys. Skipping...");
|
||||
return;
|
||||
@@ -637,7 +637,7 @@ namespace SabreTools.Wrappers
|
||||
{
|
||||
// Determine the keys needed for this partition
|
||||
N3DSPartitionKeys? keys = GetEncryptionKeys(index, settings);
|
||||
if (keys == null)
|
||||
if (keys is null)
|
||||
{
|
||||
Console.WriteLine($"Partition {index} could not generate keys. Skipping...");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user