Skip to content

Conversation

@sadkellz
Copy link
Contributor

HSD_Free and HSD_MemAlloc both do their operations on the "HSD" heap, which means in the previous iterations of this code, the buffer was getting created on the wrong heap.

The heap created in the bootloader is the first one that gets created, and isn't destroyed by the game. So instead of using the HSD specific functions, this code uses OS calls to free/alloc the buffer to the correct heap.

@sadkellz
Copy link
Contributor Author

After discussing with Fizzi, it was deemed this original PR would have broke console. So the code has been switched back to a version of the one shot.
Even though this PR "fixes" the issues, it is yet to be figured out as to why the GFX bug occurs or the erroneous logs from HSD_CheckHeap.

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 this pull request may close these issues.

1 participant