Fix inconsistent naming.

This commit is contained in:
2022-11-13 20:38:15 +00:00
parent 6911b6e175
commit c68760ec49
8 changed files with 14 additions and 10 deletions

View File

@@ -526,11 +526,11 @@ public class SegaMegaDrive : IByteAddressableImage
SegaHeader header =
Marshal.ByteArrayToStructureBigEndian<SegaHeader>(_data, 0x100, Marshal.SizeOf<SegaHeader>());
bool extraRAM = header.ExtraRamPresent[0] == 0x52 && header.ExtraRamPresent[1] == 0x41;
bool extraRam = header.ExtraRamPresent[0] == 0x52 && header.ExtraRamPresent[1] == 0x41;
mappings = new LinearMemoryMap
{
Devices = extraRAM ? new LinearMemoryDevice[2] : new LinearMemoryDevice[1]
Devices = extraRam ? new LinearMemoryDevice[2] : new LinearMemoryDevice[1]
};
mappings.Devices[0].Type = LinearMemoryType.ROM;
@@ -547,7 +547,7 @@ public class SegaMegaDrive : IByteAddressableImage
Length = header.RomEnd - header.RomStart + 1
};
if(!extraRAM)
if(!extraRam)
return ErrorNumber.NoError;
mappings.Devices[1].PhysicalAddress = new LinearMemoryAddressing

View File

@@ -33,9 +33,11 @@
namespace Aaru.DiscImages;
using System;
using System.Diagnostics.CodeAnalysis;
public sealed partial class SuperCardPro
{
[SuppressMessage("ReSharper", "InconsistentNaming")]
public enum ScpDiskType : byte
{
Commodore64 = 0x00,