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

JIT Sparse SSBU fix #319

Merged
merged 4 commits into from
Nov 29, 2024
Merged

JIT Sparse SSBU fix #319

merged 4 commits into from
Nov 29, 2024

Conversation

LotP1
Copy link
Contributor

@LotP1 LotP1 commented Nov 27, 2024

SSBU randomly crashes with the JIT Sparse rewrite, this PR will attempt to fix this issue.

@github-actions github-actions bot added the cpu An issue with ARMeilleure, the JIT, or Hypervisor label Nov 27, 2024
@LotP1 LotP1 mentioned this pull request Nov 28, 2024
@LotP1 LotP1 force-pushed the JIT-Sparse-SSBU-fix branch 2 times, most recently from 85e840f to 64cbc15 Compare November 29, 2024 22:06
storing 36 bits of data in a 32 bit integer doesn't work so well
I forgot to include this change in the previous commit
@GreemDev GreemDev merged commit facc12a into Ryubing:master Nov 29, 2024
10 checks passed
@LotP1 LotP1 deleted the JIT-Sparse-SSBU-fix branch November 29, 2024 22:52
@GreemDev GreemDev mentioned this pull request Dec 10, 2024
GreemDev pushed a commit that referenced this pull request Dec 19, 2024
A couple of games have random crashing with the JIT Sparse Ftable changes, and it seems to have been caused by an insufficient int size returned by `AddressTableLevel#GetValue(ulong address)`.
It was 32 bits (Int32), but the GiantBlock (which is the current address table impl) uses potentially 36 bits for the first level.
marco-carvalho pushed a commit to marco-carvalho/Ryujinx-1 that referenced this pull request Jan 5, 2025
A couple of games have random crashing with the JIT Sparse Ftable changes, and it seems to have been caused by an insufficient int size returned by `AddressTableLevel#GetValue(ulong address)`.
It was 32 bits (Int32), but the GiantBlock (which is the current address table impl) uses potentially 36 bits for the first level.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cpu An issue with ARMeilleure, the JIT, or Hypervisor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants