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

Sanitize allocations in the Game Boy emulator #1105

Merged
merged 3 commits into from Apr 3, 2023

Conversation

Steelskin
Copy link
Collaborator

This adds asserts for every allocation failure in the core Game Boy emulator. In addition, this replaces some magic values defined constant expressions and removes an unused function.

This adds asserts for every allocation failure in the core Game Boy
emulator. In addition, this replaces some magic values defined
constant expressions and removes an unused function.
@Steelskin Steelskin requested a review from n-a-c-h April 2, 2023 00:21
This only leaves one asert for unreachable code. All of the others now
simply report a failure.
@Steelskin Steelskin merged commit 7005b92 into master Apr 3, 2023
6 checks passed
@Steelskin Steelskin deleted the gb-cart-data-init-cleanup-alloc branch April 3, 2023 19:47
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.

None yet

1 participant