Skip to content

x64 NDR: Fix crashes/undefined behaviour with 2+ GB of allocated RAM#5271

Merged
OBattler merged 1 commit into
86Box:masterfrom
Cacodemon345:x64-ndr-fixes
Mar 1, 2025
Merged

x64 NDR: Fix crashes/undefined behaviour with 2+ GB of allocated RAM#5271
OBattler merged 1 commit into
86Box:masterfrom
Cacodemon345:x64-ndr-fixes

Conversation

@Cacodemon345

Copy link
Copy Markdown
Member

Summary

This PR fixes crashes/undefined behaviour with 2+ GB of allocated RAM on NDR backend, by properly taking the signed-ness of x64 offsets into account.

There's also a logic fix for 8-bit signed offsets.

Checklist

References

None.

@OBattler OBattler merged commit 78cfc4d into 86Box:master Mar 1, 2025
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.

2 participants