mirror of
https://github.com/SabreTools/MPF.git
synced 2026-07-02 17:24:48 +00:00
Minor Redumper cleanup
This commit is contained in:
@@ -124,6 +124,7 @@
|
||||
- Add Redumper command validation
|
||||
- Add Redumper command generation
|
||||
- Create Redumper extensions class
|
||||
- Minor Redumper cleanup
|
||||
|
||||
### 2.3 (2022-02-05)
|
||||
- Start overhauling Redump information pulling, again
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Text.RegularExpressions;
|
||||
using MPF.Core.Data;
|
||||
using RedumpLib.Data;
|
||||
@@ -353,7 +351,7 @@ namespace MPF.Modules.Redumper
|
||||
{
|
||||
if (this[FlagStrings.Skip] == true)
|
||||
{
|
||||
if (SkipValue != null && SkipValue >= 0))
|
||||
if (!string.IsNullOrWhiteSpace(SkipValue))
|
||||
parameters.Add($"{FlagStrings.Skip}={SkipValue}");
|
||||
else
|
||||
return null;
|
||||
@@ -617,6 +615,16 @@ namespace MPF.Modules.Redumper
|
||||
/// <inheritdoc/>
|
||||
public override string GetDefaultExtension(MediaType? mediaType) => Converters.Extension(mediaType);
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override List<string> GetLogFilePaths(string basePath)
|
||||
{
|
||||
List<string> logFiles = new List<string>();
|
||||
|
||||
// TODO: Determine output logfiles for Redumper
|
||||
|
||||
return logFiles;
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override bool IsDumpingCommand()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user