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

cellGameDataCheckCreate(2): More improvements #7552

Merged
merged 1 commit into from Feb 21, 2020
Merged

Conversation

elad335
Copy link
Contributor

@elad335 elad335 commented Feb 21, 2020

  • IsNewData is false only if PARAM.SFO exists at target directory.
  • Don't create directory on error (setParam == nullptr && isNewData). (fixup)
  • Return CELL_GAMEDATA_ERROR_BROKEN if PARAM.SFO exists on target directory yet is not of GD category.

Fixes #7373.
Closes #7377.

I updated the previous testcase I posted in #7547 here elad335/myps3tests@d1809fb to include the new findings.

@elad335
Copy link
Contributor Author

elad335 commented Feb 21, 2020

I tested it by deleting exiting PARAM.SFO and replaced with a new one.

* IsNewData is false only if PARAM.SFO exists.
* Don't create directory on error (setParam == nullptr && isNewData).
* Return CELL_GAMEDATA_ERROR_BROKEN if PARAM.SFO exists on target directory yet is not from GD category.
@elad335
Copy link
Contributor Author

elad335 commented Feb 21, 2020

Confirmed fixed.

@Nekotekina
Copy link
Member

I'm drunk but it seems ok.

@legend800
Copy link

This PR broke Dante's Inferno:
#7960

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.

NASCAR 09 Demo [NPUB90120] marks itself as Game Data after the first boot
4 participants