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

[Feature Request] sceKernelPartitionTotalFreeMemSize() and sceKernelPartitionMaxFreeMemSize() #13021

Closed
sum2012 opened this issue Jun 12, 2020 · 4 comments · Fixed by #16413
Closed
Milestone

Comments

@sum2012
Copy link
Collaborator

sum2012 commented Jun 12, 2020

It is used by "Code Geass: Lost Colors" chinese patched game

Jpcsp ref: jpcsp/jpcsp@6d28d87

Our code doesn't have partition parameter so that I cannot translate,

Please help @hrydgard @unknownbrackets

@hrydgard hrydgard added this to the v1.11.0 milestone Jun 12, 2020
@unknownbrackets
Copy link
Collaborator

Basically, 1 is kernelMemory and 2 is userMemory. Kernel memory in theory should be broken up, and 3 and 4 are other portions of it (one of these might be the part you can lock.)

It goes up to 12, though, and I think some of those (like 6) are for the PSP-2000 only memory normally used for UMD cache.

Hopefully in this case it's sufficient to handle normal kernel and user memory?

-[Unknown]

@hrydgard
Copy link
Owner

Hm, this was implemented here, right? : d19ee07

Closing this, feel free to reopen if more work is needed

@sum2012
Copy link
Collaborator Author

sum2012 commented Nov 29, 2020

As commit ,we ignore partitionId for now.
Milestone change to future as is not important

@sum2012 sum2012 reopened this Nov 29, 2020
@sum2012 sum2012 modified the milestones: v1.11.0, Future Nov 29, 2020
@hrydgard
Copy link
Owner

Oh, right!

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

Successfully merging a pull request may close this issue.

3 participants