mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Fix NES header database hash field length.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<component name="ProjectRunConfigurationManager">
|
<component name="ProjectRunConfigurationManager">
|
||||||
<configuration default="false" name="Aaru" type="DotNetProject" factoryName=".NET Project">
|
<configuration default="false" name="Aaru" type="DotNetProject" factoryName=".NET Project">
|
||||||
<option name="EXE_PATH" value="$PROJECT_DIR$/Aaru/bin/Debug/net6/aaru" />
|
<option name="EXE_PATH" value="$PROJECT_DIR$/Aaru/bin/Debug/net6/aaru" />
|
||||||
<option name="PROGRAM_PARAMETERS" value="i info "Jimmy Connors' Tennis (USA, Europe).lnx"" />
|
<option name="PROGRAM_PARAMETERS" value="i info "Addams Family Values (Europe) (En,Fr,De).sfc"" />
|
||||||
<option name="WORKING_DIRECTORY" value="$USER_HOME$/Desktop" />
|
<option name="WORKING_DIRECTORY" value="$USER_HOME$/Desktop" />
|
||||||
<option name="PASS_PARENT_ENVS" value="1" />
|
<option name="PASS_PARENT_ENVS" value="1" />
|
||||||
<option name="USE_EXTERNAL_CONSOLE" value="0" />
|
<option name="USE_EXTERNAL_CONSOLE" value="0" />
|
||||||
|
|||||||
@@ -137,8 +137,8 @@
|
|||||||
<Compile Include="Migrations\20200711182425_AddFieldsForF1hCommand06hSubcommand.Designer.cs" />
|
<Compile Include="Migrations\20200711182425_AddFieldsForF1hCommand06hSubcommand.Designer.cs" />
|
||||||
<Compile Include="Migrations\20200711230202_FixGdRomCapabilitiesFieldName.cs" />
|
<Compile Include="Migrations\20200711230202_FixGdRomCapabilitiesFieldName.cs" />
|
||||||
<Compile Include="Migrations\20200711230202_FixGdRomCapabilitiesFieldName.Designer.cs" />
|
<Compile Include="Migrations\20200711230202_FixGdRomCapabilitiesFieldName.Designer.cs" />
|
||||||
<Compile Include="Migrations\20211208202937_AddNesHeaders.cs" />
|
<Compile Include="Migrations\20211208214543_AddNesHeaders.cs" />
|
||||||
<Compile Include="Migrations\20211208202937_AddNesHeaders.Designer.cs" />
|
<Compile Include="Migrations\20211208214543_AddNesHeaders.Designer.cs" />
|
||||||
<Compile Include="Migrations\AaruContextModelSnapshot.cs" />
|
<Compile Include="Migrations\AaruContextModelSnapshot.cs" />
|
||||||
<Compile Include="Models\BaseModel.cs" />
|
<Compile Include="Models\BaseModel.cs" />
|
||||||
<Compile Include="Models\BaseOperatingSystem.cs" />
|
<Compile Include="Models\BaseOperatingSystem.cs" />
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|||||||
namespace Aaru.Database.Migrations
|
namespace Aaru.Database.Migrations
|
||||||
{
|
{
|
||||||
[DbContext(typeof(AaruContext))]
|
[DbContext(typeof(AaruContext))]
|
||||||
[Migration("20211208202937_AddNesHeaders")]
|
[Migration("20211208214543_AddNesHeaders")]
|
||||||
partial class AddNesHeaders
|
partial class AddNesHeaders
|
||||||
{
|
{
|
||||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||||
@@ -2279,7 +2279,8 @@ namespace Aaru.Database.Migrations
|
|||||||
.HasColumnType("INTEGER");
|
.HasColumnType("INTEGER");
|
||||||
|
|
||||||
b.Property<string>("Sha256")
|
b.Property<string>("Sha256")
|
||||||
.HasMaxLength(32)
|
.IsRequired()
|
||||||
|
.HasMaxLength(64)
|
||||||
.HasColumnType("TEXT");
|
.HasColumnType("TEXT");
|
||||||
|
|
||||||
b.Property<byte>("Submapper")
|
b.Property<byte>("Submapper")
|
||||||
@@ -15,7 +15,7 @@ namespace Aaru.Database.Migrations
|
|||||||
{
|
{
|
||||||
Id = table.Column<int>(type: "INTEGER", nullable: false)
|
Id = table.Column<int>(type: "INTEGER", nullable: false)
|
||||||
.Annotation("Sqlite:Autoincrement", true),
|
.Annotation("Sqlite:Autoincrement", true),
|
||||||
Sha256 = table.Column<string>(type: "TEXT", maxLength: 32, nullable: true),
|
Sha256 = table.Column<string>(type: "TEXT", maxLength: 64, nullable: false),
|
||||||
NametableMirroring = table.Column<bool>(type: "INTEGER", nullable: false),
|
NametableMirroring = table.Column<bool>(type: "INTEGER", nullable: false),
|
||||||
BatteryPresent = table.Column<bool>(type: "INTEGER", nullable: false),
|
BatteryPresent = table.Column<bool>(type: "INTEGER", nullable: false),
|
||||||
FourScreenMode = table.Column<bool>(type: "INTEGER", nullable: false),
|
FourScreenMode = table.Column<bool>(type: "INTEGER", nullable: false),
|
||||||
@@ -2277,7 +2277,8 @@ namespace Aaru.Database.Migrations
|
|||||||
.HasColumnType("INTEGER");
|
.HasColumnType("INTEGER");
|
||||||
|
|
||||||
b.Property<string>("Sha256")
|
b.Property<string>("Sha256")
|
||||||
.HasMaxLength(32)
|
.IsRequired()
|
||||||
|
.HasMaxLength(64)
|
||||||
.HasColumnType("TEXT");
|
.HasColumnType("TEXT");
|
||||||
|
|
||||||
b.Property<byte>("Submapper")
|
b.Property<byte>("Submapper")
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ namespace Aaru.Database.Models;
|
|||||||
public class NesHeaderInfo : BaseModel
|
public class NesHeaderInfo : BaseModel
|
||||||
{
|
{
|
||||||
/// <summary>ROM hash</summary>
|
/// <summary>ROM hash</summary>
|
||||||
[StringLength(32)]
|
[StringLength(64), Required]
|
||||||
public string Sha256 { get; set; }
|
public string Sha256 { get; set; }
|
||||||
/// <summary>If <c>true</c> vertical mirroring is hard-wired, horizontal or mapper defined otherwise</summary>
|
/// <summary>If <c>true</c> vertical mirroring is hard-wired, horizontal or mapper defined otherwise</summary>
|
||||||
public bool NametableMirroring { get; set; }
|
public bool NametableMirroring { get; set; }
|
||||||
|
|||||||
Reference in New Issue
Block a user