Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix lcf-size calculation for non-ascii-strings in event commands #1090

Merged
merged 1 commit into from Jan 25, 2017

Conversation

Ghabry
Copy link
Member

@Ghabry Ghabry commented Jan 24, 2017

This makes RPG_RT more happy when loading our savegames
(Stream read error)

To reproduce use a "Speicherstein" in Vampires Dawn and save in EasyRPG.
Load in RPG_RT: Old version: Stream read error. New version: Loads fine.

I'm quite sure int RawStruct<RPG::EventCommand>::LcfSize in liblcf has the same bug because reencoding with lcf2xml results in "Stream read error" again.

@carstene1ns carstene1ns merged commit 921a708 into EasyRPG:master Jan 25, 2017
@Ghabry Ghabry added this to the 0.5.1 milestone Feb 22, 2017
@Ghabry Ghabry deleted the save_corruption_fix branch May 28, 2017 20:35
Ghabry pushed a commit to libretro/easyrpg-libretro that referenced this pull request May 22, 2018
Fix lcf-size calculation for non-ascii-strings in event commands
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants