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 PSV header generation for PS1 saves #160

Closed
bucanero opened this issue Oct 26, 2024 · 0 comments · Fixed by #161
Closed

Fix PSV header generation for PS1 saves #160

bucanero opened this issue Oct 26, 2024 · 0 comments · Fixed by #161
Assignees
Labels
bug Something isn't working

Comments

@bucanero
Copy link
Owner

  • at 0x5C save size should be stored too
  • save size must be in little endian

apollo-ps3/source/ps1card.c

Lines 221 to 226 in 9f7995e

psvSave[0x5D] = 0x20;
psvSave[0x60] = 3;
psvSave[0x61] = 0x90;
memcpy(&psvSave[0x64], saveFilename, 20);
memcpy(&psvSave[0x40], &saveLength, sizeof(uint32_t));

@bucanero bucanero added the bug Something isn't working label Oct 26, 2024
@bucanero bucanero self-assigned this Oct 26, 2024
@bucanero bucanero linked a pull request Oct 26, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant