mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Redo Reformat and cleanup.
Rider EAP was having a bug interpreting .editorconfig that didn't generate the code style as we wanted. This is now done with Rider-stable.
This commit is contained in:
@@ -50,10 +50,8 @@ public sealed partial class CPM
|
||||
{
|
||||
_definitions =
|
||||
JsonSerializer.
|
||||
Deserialize(
|
||||
Assembly.GetExecutingAssembly().
|
||||
GetManifestResourceStream("Aaru.Filesystems.CPM.cpmdefs.json") ?? new MemoryStream(),
|
||||
typeof(CpmDefinitions), CpmDefinitionsContext.Default) as CpmDefinitions;
|
||||
Deserialize(Assembly.GetExecutingAssembly().GetManifestResourceStream("Aaru.Filesystems.CPM.cpmdefs.json") ?? new MemoryStream(),
|
||||
typeof(CpmDefinitions), CpmDefinitionsContext.Default) as CpmDefinitions;
|
||||
|
||||
if(_definitions is null)
|
||||
return false;
|
||||
@@ -73,8 +71,7 @@ public sealed partial class CPM
|
||||
def.side1.sectorIds[i] = i + 1;
|
||||
}
|
||||
|
||||
if(def.sides != 2 ||
|
||||
def.side2 != null)
|
||||
if(def.sides != 2 || def.side2 != null)
|
||||
continue;
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user