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 cellSysCacheClear #4848

Merged
merged 3 commits into from
Jul 5, 2018
Merged

Fix cellSysCacheClear #4848

merged 3 commits into from
Jul 5, 2018

Conversation

elad335
Copy link
Contributor

@elad335 elad335 commented Jul 4, 2018

  • dont remove cache directory after clear, only clear cache dir's content.

  • Fix cache dir path returned

  • Fix 'error' code returned in cellSysCacheMount

the testcase I created tries to create cache dir twice, first error code is CELL_SYSCACHE_RET_OK_CLEARED (0), second is CELL_SYSCACHE_RET_OK_RELAYED (1)
then tries to create file.txt inside the folder cache, clear cache, and trying to get that file again, this fails with CELL_ENOENT, indicating the deletion of the file.
but recreating the file works and returned CELL_OK, indicating that the cache dir is NOT removed and is still usable.

fixes #4470

pinging @Kravickas to retest

@Zangetsu38
Copy link
Contributor

Like i have already explain, this PR fix issue cache for heavy rain and beyond

@AniLeo AniLeo added the Bugfix label Jul 5, 2018
Copy link
Contributor

@Kravickas Kravickas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yup fixed and Folklore demo works too

@Nekotekina Nekotekina merged commit 4db79c4 into RPCS3:master Jul 5, 2018
@elad335 elad335 deleted the cache-fix branch July 5, 2018 12:38
@hockland
Copy link

hockland commented Jul 6, 2018

Now for Demon Souls and Ni No Kuni to receive similar fixes.

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

Successfully merging this pull request may close these issues.

Regressions after #4445
6 participants