Ejemplo n.º 1
0
        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;
            }
        }
Ejemplo n.º 2
0
        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;
            }
        }