-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
EE: Allow mapping main memory anywhere #11734
base: master
Are you sure you want to change the base?
Conversation
Will be used for holding a pointer to the PCSX2 text section
882fabf
to
ffccfdc
Compare
ffccfdc
to
87b795e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When testing on Linux this appears to break software mode for multiple games. It usually looks something like this:
(remove the .zip from the end)
Colin McRae Rally 3_SLUS-20502_20240826111944.gs.zst.zip
87b795e
to
9229be9
Compare
SW renderer should be fixed |
675a9ba
to
899b4b5
Compare
We don't need MAP_FIXED anymore
They need to stay near each other for the x86 JIT to work
Allows more code to access members with 8b offsets
Allows more instructions to use 1-byte offsets
899b4b5
to
eb0b341
Compare
Description of Changes
Fixes #11728
Uses rbx as a pointer to the main PCSX2 text section, allowing recompiler memory to be placed anywhere
Rationale behind Changes
Prevent the emulator from failing to start when it can't find anywhere to map recompiler memory
Suggested Testing Steps
Test recompilers with all the settings you can think of, it's very possible I broke something
(Also I haven't tested Windows or Linux at all, I expect Linux to work since its implementation is mostly shared with macOS but Windows who knows)