Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@hrydgard
Copy link
Owner

We finally defined a method in RetroAchievements/rcheevos#244 .

I made a change to the proposed method to cap the hashed file size to 16MB to avoid memory allocation issues. This should be by far enough considering that normal EBOOTs (that don't contain ISOs) just can't be too large if they want to fit into RAM.

@hrydgard hrydgard added the RetroAchievements RetroAchievements related work label Apr 29, 2024
@hrydgard hrydgard added this to the v1.18.0 milestone Apr 29, 2024
@LucasKell
Copy link

Would it be worth using 64MB purely because it's the max buffer size already used by rcheevos for retail PSP hashing?

@hrydgard
Copy link
Owner Author

@LucasKell Yes, probably a good call, Jamiras made the same observation. Though such large PBPs are unlikely to be found in homebrew anyway.

@hrydgard hrydgard merged commit 443bdef into master Apr 29, 2024
@hrydgard hrydgard deleted the retroachievements-for-homebrew branch April 29, 2024 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

RetroAchievements RetroAchievements related work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants