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

Savestate: Always write HostFS savestate tag (Savestate bump) #12041

Merged
merged 2 commits into from
Nov 28, 2024

Conversation

TheLastRar
Copy link
Contributor

Description of Changes

Add bounds checking for FreezeMem loads
Always save HostFS data

Rationale behind Changes

When a savestate is saved without Host File System enabled, this tag is omitted.
If that savestate is then loaded after enabling Host File System, then FreezeTag will fail to find HostFS tag and reject the savestate
Additionally, FreezeTag will end up reading beyond the end of the savestate in such a situation.

Suggested Testing Steps

Test savestates with and without Host filesystem enabled.

@F0bes F0bes merged commit 4a04100 into PCSX2:master Nov 28, 2024
12 checks passed
@TheLastRar TheLastRar deleted the SaveState-HostMissMatch branch November 29, 2024 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants