Skip to content

Commit

Permalink
stylecop
Browse files Browse the repository at this point in the history
  • Loading branch information
adelikat committed Mar 6, 2024
1 parent 0e598ab commit eebffe4
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,38 +2,37 @@

#nullable disable

namespace TASVideos.Data.Migrations
namespace TASVideos.Data.Migrations;

/// <inheritdoc />
public partial class VariousStringLengthConstraints : Migration
{
/// <inheritdoc />
public partial class VariousStringLengthConstraints : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "warnings",
table: "user_files");
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "warnings",
table: "user_files");

migrationBuilder.DropColumn(
name: "title",
table: "user_file_comments");
}
migrationBuilder.DropColumn(
name: "title",
table: "user_file_comments");
}

/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "warnings",
table: "user_files",
type: "citext",
nullable: true);
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "warnings",
table: "user_files",
type: "citext",
nullable: true);

migrationBuilder.AddColumn<string>(
name: "title",
table: "user_file_comments",
type: "citext",
maxLength: 255,
nullable: true);
}
}
migrationBuilder.AddColumn<string>(
name: "title",
table: "user_file_comments",
type: "citext",
maxLength: 255,
nullable: true);
}
}
1 change: 1 addition & 0 deletions TASVideos.Parsers/Parsers/Bk2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ internal class Bk2 : ParserBase, IParser
private const double NtscNesFramerate = 60.0988138974405;
private const double NtscSnesFramerate = 60.0988138974405;
private const double PalSnesFramerate = 50.0069789081886;

// mednafen values to match current octoshock
private const double NtscPsxFramerate = 59.94006013870239;
private const double PalPsxFramerate = 50.00028192996979;
Expand Down

0 comments on commit eebffe4

Please sign in to comment.