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

cellGameGetParamString: improve readability and add some logic changes #11689

Merged
merged 1 commit into from Apr 21, 2022

Conversation

Megamouse
Copy link
Contributor

@Megamouse Megamouse commented Mar 25, 2022

Makes the whole cellGameGetParamString code a bit more readable.
I found the old code unnecessarily confusing.

Also changes the logic a bit:

  • Add TODO to cellGameGetParamString check since it should theoretically only exist in debug mode
  • Adds some checks to make sure that the getter is called when an access preparation function was set
  • Restrict access by default

@elad335
Copy link
Contributor

elad335 commented Mar 25, 2022

@Megamouse
Copy link
Contributor Author

Any more information?
For example when did the game fail ? During boot? Or during some other specific event?

@elad335
Copy link
Contributor

elad335 commented Mar 25, 2022

This is the original issue #7039.

@Megamouse
Copy link
Contributor Author

Megamouse commented Mar 25, 2022

The game relies on this.

You trolled me real hard right now on this one xD
That line was restricting the access for HDD game data. Meaning the getter returns an error for the unusual param IDs.
Since the access is now restricted by default, the game should have no issues.

@Megamouse Megamouse marked this pull request as ready for review April 12, 2022 16:22
@AphelionWasTaken
Copy link

The digital version of A4O seems to work fine with this PR.
image

@Megamouse
Copy link
Contributor Author

Anyone review again?

@Megamouse Megamouse changed the title cellGameGetParamString: improve readability and test some logic changes cellGameGetParamString: improve readability and add some logic changes Apr 21, 2022
@Megamouse Megamouse merged commit e9af0bb into RPCS3:master Apr 21, 2022
@Megamouse Megamouse deleted the dfsdfgsdfdsfgdsgf branch April 21, 2022 18:57
@JimScript
Copy link

Both Littlebigplanet 1 and 2 can't boot after this PR, 1 doesn't ever stay frozen and kicks you back to the emulator. Log:
RPCS3.log

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

4 participants