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

Use a delay to approximate timing of savedata status changes #5368

Merged
merged 2 commits into from
Feb 8, 2014

Conversation

unknownbrackets
Copy link
Collaborator

Timing based on tests, but it seems to vary, and thread priority greatly affects it. I'm hoping this will work well enough.

May improve the games that have problems when the status changes immediately or when they wait to check the status and expect it to have already changed.

-[Unknown]

Tested to require this exact version to return that error.  Not sure if
any games will actually hit this anyway, but they did with lower SDK
versions.
This is probably more based on IO (maybe even loading and unloading
the module for the dialog or something?) but time should approximate it.

May improve games not expecting the status to switch right away.
@hrydgard
Copy link
Owner

hrydgard commented Feb 8, 2014

To get this perfectly accurate we'd probably have to write it as MIPS code very closely to the real stuff and run it in PSP threads the same way. This should be a decent enough approximation one would hope... and you made it nicely tweakable.

hrydgard added a commit that referenced this pull request Feb 8, 2014
Use a delay to approximate timing of savedata status changes
@hrydgard hrydgard merged commit a95c0f5 into hrydgard:master Feb 8, 2014
@hrydgard
Copy link
Owner

hrydgard commented Feb 8, 2014

Mentioning #5319 to get a link in that issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants