From 1c084514872ad2e736164ba71f79396591c27def Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Mon, 18 Mar 2024 12:30:02 -0400 Subject: [PATCH] Add Konami Python 2 system detection (fixes #680) --- CHANGELIST.md | 1 + MPF.Core/Data/Drive.cs | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/CHANGELIST.md b/CHANGELIST.md index 105acd96..787f9a27 100644 --- a/CHANGELIST.md +++ b/CHANGELIST.md @@ -3,6 +3,7 @@ - Handle `.0.physical` files from Redumpers - Read C2 error count from Redumper logs - Read last instance of hash data from Redumper +- Add Konami Python 2 system detection ### 3.1.4 (2024-03-16) diff --git a/MPF.Core/Data/Drive.cs b/MPF.Core/Data/Drive.cs index 7ef32b77..8763b8c4 100644 --- a/MPF.Core/Data/Drive.cs +++ b/MPF.Core/Data/Drive.cs @@ -291,6 +291,12 @@ namespace MPF.Core.Data return RedumpSystem.funworldPhotoPlay; } + // Konami Python 2 + if (Directory.Exists(Path.Combine(this.Name, "PY2.D"))) + { + return RedumpSystem.KonamiPython2; + } + #endregion #region Consoles