public void Write() { switch (Save.SaveInstance.SaveGeneration) { case SaveGeneration.GCN: case SaveGeneration.Wii: Write(PatternUtility.EncodeC4(DecodedData)); break; case SaveGeneration.NDS: case SaveGeneration.N3DS: Write(PatternUtility.CondenseNonBlockPattern(DecodedData)); break; } }
public void RedrawBitmap() { switch (_saveFile.SaveGeneration) { case SaveGeneration.GCN: case SaveGeneration.Wii: GeneratePatternBitmap(DecodedData, false); Write(PatternUtility.EncodeC4(DecodedData, 32, 32)); break; case SaveGeneration.NDS: GenerateWwPatternBitmap(DecodedData, false); Write(PatternUtility.CondenseNonBlockPattern(DecodedData)); break; case SaveGeneration.N3DS: GenerateNlPatternBitmap(DecodedData, false); Write(PatternUtility.CondenseNonBlockPattern(DecodedData)); break; } }