From 9dc601680220e60c1bb789f7f6fadf5cb8801c40 Mon Sep 17 00:00:00 2001 From: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Fri, 15 Nov 2024 08:11:57 -0800 Subject: [PATCH] Set ST-V movies as Arcade --- TASVideos.Parsers/Parsers/Bk2.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/TASVideos.Parsers/Parsers/Bk2.cs b/TASVideos.Parsers/Parsers/Bk2.cs index 237c82175..efdc61adb 100644 --- a/TASVideos.Parsers/Parsers/Bk2.cs +++ b/TASVideos.Parsers/Parsers/Bk2.cs @@ -13,6 +13,7 @@ internal class Bk2 : Parser, IParser private const double NtscNesFramerate = 60.0988138974405; private const double NtscSnesFramerate = 60.0988138974405; private const double PalSnesFramerate = 50.0069789081886; + private const double NtscSatFramerate = 59.8830284837373; // mednafen values to match current octoshock private const double NtscPsxFramerate = 59.94006013870239; @@ -127,6 +128,11 @@ public async Task Parse(Stream file, long length) platform = SystemCodes.Arcade; result.FrameRateOverride = NtscNesFramerate; } + else if (header.GetBoolFor(Keys.ModeStv)) + { + platform = SystemCodes.Arcade; + result.FrameRateOverride = NtscSatFramerate; + } else if (header.GetValueFor(Keys.Board) == SystemCodes.Sgb) { platform = SystemCodes.Sgb; @@ -295,6 +301,7 @@ private static class Keys public const string ModeSegaCd = "issegacdmode"; public const string ModeGg = "isggmode"; public const string ModeSg = "issgmode"; + public const string ModeStv = "isstv"; public const string ModeVs = "isvs"; public const string VBlankCount = "vblankcount"; public const string CycleCount = "cyclecount";