Esempio n. 1
0
        public void SaveStateText(TextWriter writer)
        {
            var s = new TextState <TextStateData>();

            s.Prepare();
            var ff = s.GetFunctionPointersSave();

            LibLynx.TxtStateSave(Core, ref ff);
            s.ExtraData.IsLagFrame = IsLagFrame;
            s.ExtraData.LagCount   = LagCount;
            s.ExtraData.Frame      = Frame;

            _ser.Serialize(writer, s);
        }
Esempio n. 2
0
        public void SaveStateText(TextWriter writer)
        {
            var s = new TextState <TextStateData>();

            s.Prepare();
            var ff = s.GetFunctionPointersSave();

            LibLynx.TxtStateSave(Core, ref ff);
            s.ExtraData.IsLagFrame = IsLagFrame;
            s.ExtraData.LagCount   = LagCount;
            s.ExtraData.Frame      = Frame;

            _ser.Serialize(writer, s);

            ////Console.WriteLine(BizHawk.Common.BufferExtensions.BufferExtensions.HashSHA1(SaveStateBinary()));
        }