fixed code to work with new resource settings interface.

This commit is contained in:
morkt
2018-01-08 20:04:23 +04:00
parent 2e2e447c42
commit cd4e1174af
56 changed files with 179 additions and 158 deletions

View File

@@ -37,7 +37,6 @@ using System.Diagnostics;
using GameRes.Compression;
using GameRes.Utility;
using GameRes.Formats.Strings;
using GameRes.Formats.Properties;
namespace GameRes.Formats.KiriKiri
{
@@ -348,11 +347,11 @@ NextEntry:
public override ResourceOptions GetDefaultOptions ()
{
return new Xp3Options {
Version = Settings.Default.XP3Version,
Scheme = GetScheme (Settings.Default.XP3Scheme),
CompressIndex = Settings.Default.XP3CompressHeader,
CompressContents = Settings.Default.XP3CompressContents,
RetainDirs = Settings.Default.XP3RetainStructure,
Version = Properties.Settings.Default.XP3Version,
Scheme = GetScheme (Properties.Settings.Default.XP3Scheme),
CompressIndex = Properties.Settings.Default.XP3CompressHeader,
CompressContents = Properties.Settings.Default.XP3CompressContents,
RetainDirs = Properties.Settings.Default.XP3RetainStructure,
};
}