Commit graph

2416 commits

Author SHA1 Message Date
lizzie
307146c58e properly define orbis page size 2026-05-20 15:03:23 +00:00
lizzie
4053c42411 proper virtual base, remove uneeded sysconf things 2026-05-20 15:03:23 +00:00
lizzie
5376215417 ryujinx was never ported to PS4 2026-05-20 15:03:22 +00:00
lizzie
7141216685 fix shit 2026-05-20 15:03:22 +00:00
lizzie
712be375cb native ps4 audio sink 2026-05-20 15:03:22 +00:00
lizzie
cb35ddef83 fix virtual buffers 2026-05-20 15:03:21 +00:00
lizzie
d960f9c67f let it rip 2026-05-20 15:03:21 +00:00
lizzie
299876e92d leave pending param package stuff 2026-05-20 15:03:21 +00:00
lizzie
7f84b4758d restore protection 2026-05-20 15:03:21 +00:00
lizzie
7d50c070b8 immediately terminate in OO, use 2MB swap handler 2026-05-20 15:03:21 +00:00
lizzie
e671b32d21 use btver2 2026-05-20 15:03:21 +00:00
lizzie
6f1b5f6803 reduce fiber sizes 2026-05-20 15:03:21 +00:00
lizzie
a63a27c877 use dmem for swap buffers, restore full jit sizes 2026-05-20 15:03:21 +00:00
lizzie
d6830c979a use newer sdl2, make bigger stack 2026-05-20 15:03:20 +00:00
lizzie
708ffa6cd0 update loicense 2026-05-20 15:03:19 +00:00
lizzie
d88a1518cd reduce arm codeisze, force 16x4 pages again 2026-05-20 15:03:18 +00:00
lizzie
f25cf4a024 extra buffer precautions to not exhaust DMem, format better + perf history nerf 2026-05-20 15:03:18 +00:00
lizzie
f5b8c80779 fibers that don't immediately crash?!!?!?!!? 2026-05-20 15:03:18 +00:00
lizzie
d37ba6f3fc add fallback buffer back 2026-05-20 15:03:18 +00:00
lizzie
a625fcd5b3 fix alloc failures 2026-05-20 15:03:18 +00:00
lizzie
c3f5456bac fix for crashes on TLS due to openorbis being W E I R D 2026-05-20 15:03:18 +00:00
lizzie
3a053224de opengl bullshit 2026-05-20 15:03:18 +00:00
lizzie
d47a4b89f7 proper memswap mechanism 2026-05-20 15:03:18 +00:00
lizzie
daf4e9749d more stupid stuff 2026-05-20 15:03:18 +00:00
lizzie
fc42cc3d92 fixes 4 stuff 2026-05-20 15:03:18 +00:00
lizzie
c528822a79 swap handling 2026-05-20 15:03:18 +00:00
lizzie
711eb59aad license 2026-05-20 15:03:18 +00:00
lizzie
f9830093d8 evil haxx 2026-05-20 15:03:18 +00:00
lizzie
5c70fff3ea extra ps4 defs 2026-05-20 15:03:18 +00:00
lizzie
5f9508294d make virtual buffer become an optional 2026-05-20 15:03:18 +00:00
lizzie
d1f46b2963 force NO fastmem 2026-05-20 15:03:18 +00:00
lizzie
777a26c29e more memory shit 2026-05-20 15:03:18 +00:00
lizzie
5496119ad3 MAP_SYSTEM 2026-05-20 15:03:18 +00:00
lizzie
91dc9e41d8 (likely) fixes for virtual dmem? 2026-05-20 15:03:18 +00:00
lizzie
4a8df8d5bf disable fastmem 2026-05-20 15:03:18 +00:00
lizzie
5dc6ced8e9 try to fix the paths 2026-05-20 15:03:18 +00:00
lizzie
e4a6693424 sysconf stub cuz crash(?) + some stderrp stuff 2026-05-20 15:03:18 +00:00
lizzie
c110ab1e23 merge 2026-05-20 15:03:17 +00:00
lizzie
2bd62841d7 merge 2026-05-20 15:03:17 +00:00
crueter
feb8c5f88e
[desktop] More qt_common reorganization (#3916)
Some checks are pending
tx-src / sources (push) Waiting to run
Check Strings / check-strings (push) Waiting to run
Ported from QML branch.

Main "big" change is that EmuThread is now a shared state in QtCommon,
not individually managed/passed around by GRenderWindow and MainWindow.

Signed-off-by: crueter <crueter@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3916
Reviewed-by: Lizzie <lizzie@eden-emu.dev>
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
2026-05-20 04:49:16 +02:00
Kaydax
ad2e1cc554
[externals] Update to SDL3 (#3952)
Some checks are pending
tx-src / sources (push) Waiting to run
Check Strings / check-strings (push) Waiting to run
Since the launch of the steam controller I think it's only best to push towards updating to SDL3 allowing for a wider range of controller support

I went ahead and started on getting it working. Everything here should be functional, I've personally tested it all on Arch Linux. Still untested on windows, so looking for feedback on that

Any feedback and help would be appreciated!

Main changes:
- Bump everything to SDL3
- Handle SDL3 audio and input
- Add steam controller support, including HD Rumble
- Improved battery reporting via the status icon by using real % rather than state alone

Co-authored-by: crueter <crueter@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3952
Reviewed-by: crueter <crueter@eden-emu.dev>
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Reviewed-by: Lizzie <lizzie@eden-emu.dev>
2026-05-18 19:07:41 +02:00
lizzie
5aba461cb3
[common/wall_clock] fix invariant RDTSC divide by 0 (#3961)
Some checks are pending
tx-src / sources (push) Waiting to run
Check Strings / check-strings (push) Waiting to run
Signed-off-by: lizzie <lizzie@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3961
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
2026-05-17 02:17:11 +02:00
lizzie
2f0f8a979c
[dynarmic, macroHLE] Use faster ankerl for xbyak maps (#3716)
the nominal std::unordered_map<> isn't enough to warrant it's continued usage in xbyak internal structures, thus using ankerl should greatly remove a lot of indirection/stdc++ specific overhead from the usually poorly performant std::unordered_map

Both dynarmic and macroHLE should benefit greatly from a less-stupid unordered_dense

This should speedup both CPU and shader compilation latency (NOT BY A GREAT MARGIN) just enough to make loading zones in ToTK less horrific

Signed-off-by: lizzie <lizzie@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3716
Reviewed-by: crueter <crueter@eden-emu.dev>
2026-05-15 22:07:45 +02:00
lizzie
975aa4e2f2
[common] remove ptr indirection on WallClock (#3864)
also devirtualizes manually since compiler doesn't do it with LTO

Signed-off-by: lizzie <lizzie@eden-emu.dev>

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3864
Reviewed-by: crueter <crueter@eden-emu.dev>
2026-05-15 22:06:38 +02:00
John
7e84f9ef59
[common] Revert back Aync GPU default to true to fix flickering on Linux (#3946)
Some checks failed
tx-src / sources (push) Has been cancelled
Check Strings / check-strings (push) Has been cancelled
The cause of the flickering needs to be investigated but this will set it ON as default for desktop platforms.

Co-authored-by: lizzie <lizzie@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3946
Reviewed-by: crueter <crueter@eden-emu.dev>
Reviewed-by: Lizzie <lizzie@eden-emu.dev>
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
2026-05-11 22:03:19 +02:00
John
609756db30
[common] Revert default VIDS setting to true to fix AMD GPU and Windows (#3945)
Some checks are pending
tx-src / sources (push) Waiting to run
Check Strings / check-strings (push) Waiting to run
Games such as bayonetta 3 or totk need VIDS on for some windows users or it results in broken graphics.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3945
Reviewed-by: crueter <crueter@eden-emu.dev>
Reviewed-by: Lizzie <lizzie@eden-emu.dev>
2026-05-11 18:52:28 +02:00
CamilleLaVey
5575d77520
[android] Another set of QoL changes for Android - 2 (#3886)
Some checks failed
tx-src / sources (push) Has been cancelled
Check Strings / check-strings (push) Has been cancelled
Changes:

- Defaults: Set Async GPU and Async Vulkan Presentation to OFF. Stability wasn't worth the trade-off.
- Threading: Lowered default pipeline workers from 7 to 4 to reduce heat and CPU contention.
- Settings: Added a slider for manual pipeline worker count so users can test what works best for their SoC.
- QCOM: Removed SPIRV bans; improves load times and thermals in heavy titles like Jump Force.
- UI: Cleaned up settings descriptions to be less ambiguous.

------------------------
Some games fixed:

-> Trinity Fusion: No longer crashes with Turnip, no longer shows the black dot in the middle of the screen on both QCOM and Turnip drivers.
-> Naruto X Boruto - Ultimate Ninja Storm Connections: Game no longer requires a fixed version of turnip to work (previously requiring Turnip driver from MESA 24.3/ @MrPurple666 EoL v2 driver)

Co-authored-by: lizzie <lizzie@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3886
Reviewed-by: crueter <crueter@eden-emu.dev>
Reviewed-by: Lizzie <lizzie@eden-emu.dev>
2026-05-10 06:38:02 +02:00
John
732fee2e85
Add Enable Legacy Rescale Pass to Android (#3851)
Some checks are pending
tx-src / sources (push) Waiting to run
Check Strings / check-strings (push) Waiting to run
Testing: Luigi Mansion 3 artifact lines also happen on android.

Toggle existed on every platform but android. It works on Android and also removes the artifact lines that also happen on intel and amd gpus.

A testing PR until #3665

Co-authored-by: lizzie <lizzie@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3851
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
2026-05-09 23:49:14 +02:00
lizzie
707e8afb29
[common] remove logging thread, simply write in place like a maniac (#3928)
theoretically, it's better because distributes load of logging across various threads

this should work because 99% of I/O solutions are blocking by default

EXCEPT, maybe android differs? please check logcat didn't get affected (again) by me underestimating android ~~stupidity~~ brillaince

Signed-off-by: lizzie <lizzie@eden-emu.dev>

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3928
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
2026-05-09 05:26:17 +02:00
crueter
676b1aabfc
[frontend] Built-in auto updater (#3845)
Some checks are pending
tx-src / sources (push) Waiting to run
Check Strings / check-strings (push) Waiting to run
Checks latest release and opens a dialog containing the changelog, and
allow the user to select a specific build to download. After
downloading, it prompts the user to open it.

On Windows, this just opens up the zip in File Explorer. In the future setup files will be available. On macOS this opens up the DMG in Finder so the user can drag it to the Applications folder. Android retains the auto-update functionality from before, but updated to the new scheme. Body/View on Forgejo are not implemented, that should be in a future PR.

Additionally, moved some common httplib incantations to `Common::Net`. This will serve as the common network accessor and JSON parser from here on out.

TODO:
- [x] android :(
- [x] Search for builds based on keywords, with weights towards certain builds (e.g. macOS will search for dmg then tar.gz, windows msvc then mingw/exe then zip, etc.)
- [x] remove linux leftovers
- [x] don't allow asset selection on platforms w/o assets
- [x] nightly changelog should be in the real

FUTURE IMPLEMENTATION:
- [ ] Body/View on Forgejo for Android
- [ ] Setup files for Windows (Eden/nightly are separate) -- maybe portable/setup selector?
- [ ] Something else I'm forgetting

Signed-off-by: crueter <crueter@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3845
2026-04-28 20:42:23 +02:00