Closed EngineersBox closed 4 days ago
This PR is good for a review if anyone has the time.
Finally got to take a look at the current state of PSn00bSDK again after neglecting it for a rather long time at this point. Thank you for your contributions.
As for the two PRs marked as drafts, I am currently planning to overhaul the repo in order to make it easier to use it as a git submodule; we can further discuss how to handle them while I'm at it. If you want, feel free to reach out to me (as well as several PSn00bSDK users and developers of other PS1 SDK projects) through the PSX.Dev Discord server.
The
BlockHeader.size
field is incorrectly set, still including thesizeof(BlockHeader)
overhead included in the aligned value used as the size of the allocated block.This causes the
_find_fit
function to improperly calculate the size of the free block for the currently inspected block. More details in the associated issue I raised here: https://github.com/Lameguy64/PSn00bSDK/issues/80