Skip to content

GenPlus-GX savestates saved in 2.7 don't work in 2.8. #3231

@webbedspace

Description

@webbedspace

Repro

Here's a zip containing all of the save states and the ROM in question: (Edit: Don't link roms) These load in 2.7 but cause the following error in 2.8:

System.InvalidOperationException: Waterbox Error: Bad hash for state
   at BizHawk.Emulation.Cores.Waterbox.WaterboxHostNative.ReturnData.GetDataOrThrow()
   at BizHawk.Emulation.Cores.Consoles.Sega.gpgx.GPGX.LoadStateBinary(BinaryReader reader)
   at BizHawk.Client.Common.ZipStateLoader.GetLump(BinaryStateLump lump, Boolean abort, Action`2 callback)
   at BizHawk.Client.Common.ZipStateLoader.GetCoreState(Action`1 callbackBinary, Action`1 callbackText)
   at BizHawk.Client.Common.SavestateFile.Load(String path)
   at BizHawk.Client.EmuHawk.MainForm.LoadState(String path, String userFriendlyStateName, Boolean suppressOSD)
   at BizHawk.Client.EmuHawk.MainForm.LoadQuickSave(String quickSlotName, Boolean suppressOSD)
   at BizHawk.Client.EmuHawk.MainForm.CheckHotkey(String trigger)
   at BizHawk.Client.EmuHawk.MainForm.<ProcessInput>b__129_1(Boolean current, String trigger)
   at System.Linq.Enumerable.Aggregate[TSource,TAccumulate](IEnumerable`1 source, TAccumulate seed, Func`3 func)
   at BizHawk.Client.EmuHawk.MainForm.ProcessInput(InputCoalescer hotkeyCoalescer, ControllerInputCoalescer finalHostController, Func`2 searchHotkeyBindings, Func`2 activeControllerHasBinding)
   at BizHawk.Client.EmuHawk.MainForm.ProgramRunLoop()
   at BizHawk.Client.EmuHawk.Program.SubMain(String[] args)

I looked at the release notes for 2.8 but savestate incompatibility wasn't listed among them. If this can't be fixed then I'll understand.

Host env.

  • BizHawk 2.7 and 2.8; Windows 10 AMD

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions