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

@@ -382,10 +382,10 @@ namespace GameRes.Formats.NitroPlus
public override ResourceOptions GetDefaultOptions ()
{
return new NpaOptions {
Scheme = GetScheme (Settings.Default.NPAScheme),
CompressContents = Settings.Default.NPACompressContents,
Key1 = (int)Settings.Default.NPAKey1,
Key2 = (int)Settings.Default.NPAKey2,
Scheme = GetScheme (Properties.Settings.Default.NPAScheme),
CompressContents = Properties.Settings.Default.NPACompressContents,
Key1 = (int)Properties.Settings.Default.NPAKey1,
Key2 = (int)Properties.Settings.Default.NPAKey2,
};
}