mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-27 15:44:00 +08:00
fixed CxEncryption deserialization.
This commit is contained in:
parent
fe8f0dc84e
commit
26d7251705
@ -26,6 +26,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace GameRes.Formats.KiriKiri
|
||||
{
|
||||
@ -64,6 +65,12 @@ namespace GameRes.Formats.KiriKiri
|
||||
[NonSerialized]
|
||||
CxProgram[] m_program_list = new CxProgram[0x80];
|
||||
|
||||
[OnDeserialized()]
|
||||
void PostDeserialization (StreamingContext context)
|
||||
{
|
||||
m_program_list = new CxProgram[0x80];
|
||||
}
|
||||
|
||||
public CxEncryption (CxScheme scheme)
|
||||
{
|
||||
m_mask = scheme.Mask;
|
||||
|
Loading…
Reference in New Issue
Block a user