diff --git a/BizHawk.Emulation.Cores/Consoles/Sega/GGHawkLink/GGHawkLink.IStatable.cs b/BizHawk.Emulation.Cores/Consoles/Sega/GGHawkLink/GGHawkLink.IStatable.cs index 2d466f4408..97c3d4a219 100644 --- a/BizHawk.Emulation.Cores/Consoles/Sega/GGHawkLink/GGHawkLink.IStatable.cs +++ b/BizHawk.Emulation.Cores/Consoles/Sega/GGHawkLink/GGHawkLink.IStatable.cs @@ -5,24 +5,10 @@ using BizHawk.Emulation.Common; namespace BizHawk.Emulation.Cores.Sega.GGHawkLink { - public partial class GGHawkLink : ITextStatable + public partial class GGHawkLink : IStatable { - private readonly ITextStatable _lStates; - private readonly ITextStatable _rStates; - - public void SaveStateText(TextWriter writer) - { - _lStates.SaveStateText(writer); - _rStates.SaveStateText(writer); - SyncState(new Serializer(writer)); - } - - public void LoadStateText(TextReader reader) - { - _lStates.LoadStateText(reader); - _rStates.LoadStateText(reader); - SyncState(new Serializer(reader)); - } + private readonly IStatable _lStates; + private readonly IStatable _rStates; public void SaveStateBinary(BinaryWriter bw) { diff --git a/BizHawk.Emulation.Cores/Consoles/Sega/GGHawkLink/GGHawkLink.cs b/BizHawk.Emulation.Cores/Consoles/Sega/GGHawkLink/GGHawkLink.cs index d88f281be0..d1db1e6918 100644 --- a/BizHawk.Emulation.Cores/Consoles/Sega/GGHawkLink/GGHawkLink.cs +++ b/BizHawk.Emulation.Cores/Consoles/Sega/GGHawkLink/GGHawkLink.cs @@ -61,8 +61,8 @@ namespace BizHawk.Emulation.Cores.Sega.GGHawkLink L.stand_alone = false; R.stand_alone = false; - _lStates = (ITextStatable)L.ServiceProvider.GetService(); - _rStates = (ITextStatable)R.ServiceProvider.GetService(); + _lStates = L.ServiceProvider.GetService(); + _rStates = R.ServiceProvider.GetService(); } public void HardReset()