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

Improved some sys_game syscalls #12787

Merged
merged 3 commits into from Oct 11, 2022
Merged

Improved some sys_game syscalls #12787

merged 3 commits into from Oct 11, 2022

Conversation

brian218
Copy link
Contributor

@brian218 brian218 commented Oct 10, 2022

Corrected the implementation of sys_game_board_storage_read() according to @elad335's suggestion in #12769.
After doing some experiments, I came to the conclusion that the value of *buffer2 must be always set to 0x00 (regardless of the PSID, unlike *buffer1), otherwise the game will throw an error saying the check has failed.

Also implemented sys_game_get_system_sw_version(), which represents the PS3 firmware version in an u64 form (firmware_version * 10000), e.g. 48900 for 4.89.

@elad335
Copy link
Contributor

elad335 commented Oct 10, 2022

I suggest avoiding any write for now, but the type fix is easily approved.

@brian218 brian218 changed the title Corrected the implementation of sys_game_board_storage_read() Improved some sys_game syscalls Oct 10, 2022
@brian218
Copy link
Contributor Author

brian218 commented Oct 10, 2022

Also implemented sys_game_get_system_sw_version(), which represents the PS3 firmware version in an u64 form (firmware_version * 10000), e.g. 48900 for 4.89.

Before this PR:
before

After this PR:
after

@brian218 brian218 requested a review from elad335 October 11, 2022 05:05
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.

None yet

3 participants