Add Sony Electronic Book system (fixes #400)

This commit is contained in:
Matt Nadareski
2022-08-29 10:42:20 -07:00
parent a1707486f4
commit ddfb383f23
5 changed files with 15 additions and 0 deletions

View File

@@ -111,6 +111,7 @@
- Update to new constructor
- Update PSX content check
- Update Aaru submodule to latest devel
- Add Sony Electronic Book system
### 2.3 (2022-02-05)
- Start overhauling Redump information pulling, again

View File

@@ -237,6 +237,7 @@ namespace MPF.Library
case RedumpSystem.PalmOS:
case RedumpSystem.PocketPC:
case RedumpSystem.RainbowDisc:
case RedumpSystem.SonyElectricBook:
resultProgress?.Report(Result.Success("Running copy protection scan... this might take a while!"));
(string protectionString, Dictionary<string, List<string>> fullProtections) = await GetCopyProtection(drive, options, protectionProgress);
info.CopyProtection.Protection = protectionString;

View File

@@ -463,6 +463,7 @@ namespace MPF.Modules.DiscImageCreator
case RedumpSystem.EnhancedCD:
case RedumpSystem.IBMPCcompatible:
case RedumpSystem.RainbowDisc:
case RedumpSystem.SonyElectricBook:
if (File.Exists($"{basePath}_subIntention.txt"))
{
FileInfo fi = new FileInfo($"{basePath}_subIntention.txt");

View File

@@ -2446,6 +2446,9 @@ namespace RedumpLib.Data
[System(Category = SystemCategory.Other, LongName = "Sega Prologue 21 Multimedia Karaoke System", ShortName = "sp21", HasCues = true, HasDat = true)]
SegaPrologue21MultimediaKaraokeSystem,
[System(Category = SystemCategory.Other, Available = false, LongName = "Sony Electric Book")]
SonyElectricBook,
[System(Category = SystemCategory.Other, Available = false, LongName = "Super Audio CD")]
SuperAudioCD,

View File

@@ -673,6 +673,11 @@ namespace RedumpLib.Data
types.Add(MediaType.CDROM);
break;
// UNKNOWN
case RedumpSystem.SonyElectricBook:
types.Add(MediaType.CDROM);
break;
// https://en.wikipedia.org/wiki/Super_Audio_CD
case RedumpSystem.SuperAudioCD:
types.Add(MediaType.CDROM);
@@ -2044,6 +2049,10 @@ namespace RedumpLib.Data
case "sega prologue21":
case "sega prologue 21":
return RedumpSystem.SegaPrologue21MultimediaKaraokeSystem;
case "electricbook":
case "sonyelectricbook":
case "sony electric book":
return RedumpSystem.SonyElectricBook;
case "sacd":
case "superaudiocd":
case "super audio cd":