lizzie and crueter
0a687b82d4
[crypto] Atomize all traces of MbedTLS, and require OpenSSL 3+ ( #3606 )
...
Closes #3137
Closes #3465
- Replace all mbedtls usage with OpenSSL
- require OpenSSL
- Up OpenSSL version to 3, cuz that's what we actually need...
CAVEATS:
- httplib also now required
- other ssl backends for svc are unused, maybe remove later
* To be fair, our CI never used them anyways. And we never tested those
TESTERS PLEASE TEST:
- All games and applets boot
- Boot, load, exit, etc. times
Co-authored-by: crueter <[email protected] >
Signed-off-by: lizzie <[email protected] >
Co-authored-by: crueter <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3606
Reviewed-by: crueter <[email protected] >
Reviewed-by: MaranBr <[email protected] >
Reviewed-by: DraVee <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-23 02:50:13 +01:00
lizzie
d64f7dfe5c
[dynarmic] Transition IR::Block to use stable_vector<Inst>, remove inline pool + pooled vector, remove unused mutable get/set block functors ( #3543 )
...
theoretically, better
in practice, uh
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3543
Reviewed-by: DraVee <[email protected] >
Reviewed-by: CamilleLaVey <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-22 21:01:04 +01:00
lizzie
2d27359074
[core/memory] remove indirection handling for unaligned access ( #3584 )
...
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3584
Reviewed-by: DraVee <[email protected] >
Reviewed-by: CamilleLaVey <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-22 06:05:08 +01:00
lizzie
a12eb5fef6
[docs] add qt6-charts to deps.md, add nixOS note ( #3597 )
...
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3597
Reviewed-by: DraVee <[email protected] >
Reviewed-by: CamilleLaVey <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-22 03:28:00 +01:00
lizzie and Caio Oliveira
2082ba7ec7
[cmake, common] allow build with -fno-rtti and /GR-, to disable gen of rtti and save some bytes in vtables ( #359 )
...
Signed-off-by: lizzie <[email protected] >
Co-authored-by: Caio Oliveira <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/359
Reviewed-by: DraVee <[email protected] >
Reviewed-by: CamilleLaVey <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-22 03:09:03 +01:00
lizzie
bfc720152a
[vfs] remove usage of 'dynamic_cast', use ankerl::map for files ( #3594 )
...
Do I need to writeout everything wrong with `dynamic_cast`?
Also the usual std::map -> `ankerl::unordered_dense::map` conversion, seems to work just fine - but of course test that updates/DLCs/mods/cheats/etc are still being applied :)
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3594
Reviewed-by: DraVee <[email protected] >
Reviewed-by: MaranBr <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-21 18:38:32 +01:00
lizzie
b6238d6df7
[vfs] fix crash at dtor() time ( #3593 )
...
Not very happy with the "solution"
Either way, this affected FBSD where opening then closing the emu would result in a crash, always.
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3593
Reviewed-by: DraVee <[email protected] >
Reviewed-by: MaranBr <[email protected] >
Reviewed-by: CamilleLaVey <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-21 13:47:48 +01:00
lizzie
f94bae10f2
[dynarmic] fix SignedDiv64 crashing if immediate constprop took effect; also fix result for 0x8000_0000/0xFFFF_FFFF not returning properly for SignedDiv32 ( #3517 )
...
a program could crash the emulator by just using div immediates and/or dividing by
0x8000_0000_0000_0000/0xFFFF_FFFF_FFFF_FFFF
X0 = 0x8000_0000_0000_0000
X1 = 0xFFFF_FFFF_FFFF_FFFF
SDIV X2, X0, X1
SDIV X2, X1, X0 <- crashes emu
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3517
Reviewed-by: crueter <[email protected] >
Reviewed-by: DraVee <[email protected] >
Reviewed-by: MaranBr <[email protected] >
Reviewed-by: CamilleLaVey <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-21 03:01:41 +01:00
lizzie
4f29128e50
[dynarmic] Fix ISB with new JIT schema ( #3576 )
...
If an ISB is issued, the changes on the memory wouldn't be reflected
Now we emulate "instruction cache" properly by just telling the mechanism to re-fetch the entire page again (to make ANY changes visible immediately)
This mainly fixes a potential issue where an ISB is emitted before a branch on the same codepage.
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3576
Reviewed-by: CamilleLaVey <[email protected] >
Reviewed-by: crueter <[email protected] >
Reviewed-by: DraVee <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-21 01:53:48 +01:00
lizzie
f76dc401c3
[dynarmic] remove dead-code interpreter ( #3547 )
...
interpreter was never called in practice and doesn't do anything other than just crash
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3547
Reviewed-by: CamilleLaVey <[email protected] >
Reviewed-by: crueter <[email protected] >
Reviewed-by: DraVee <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-21 01:53:34 +01:00
lizzie
93eecca894
[xbyak] fix unordered map that wasn't actually wanting to be unordered ( #3589 )
...
It seems to be related to the fact multimap on xbyak doesn't properly work if it's unordered
It also seems to NOT play nice at all with unstable iterators (like those found on ankerl) - either we use boost or just let xbyak use normal std
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3589
Reviewed-by: Maufeat <[email protected] >
Reviewed-by: crueter <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-20 19:28:36 +01:00
lizzie
d5aa10d572
[dynarmic] make Xbyak::CodeGen use Ankerl for backing unordered maps ( #3438 )
...
standard std::unordered_map and std::unordered_set sucks, hadn't found drop-in replacement for multimap, but this change should bring a nice perf boost for x86_64 :)
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3438
Reviewed-by: DraVee <[email protected] >
Reviewed-by: CamilleLaVey <[email protected] >
Reviewed-by: crueter <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-20 16:38:17 +01:00
c9c136bea7
[texture_cache, buffer_cache] Added TLS handling + changed command queue for GPU threading. ( #3579 )
...
(Merge of #3495 + #3108 )
This PR works around to simplify math operations on hot pointers inside the access and requests to the cache of buffers and texture cache, removing previous logic of indirection and replaced by a PoD approach.
This will ensure less CPU times spended on the same request and flow directly into another chain of the render, in the same way, command queue currently uses an internal mutex that constraints the flow of data within the GPU threads, we're moving over a single command, I verified to keep using mutexes instead of internal mutex + mutex per operation, which are resolved by themselves.
In simplier words, this aims to improve performance on those games and devices where the waits for next orders on GPU commands were heavier than a single verification.
Co-Authored-by: @CamilleLaVey
Co-Authored-by: @Lizzie
Co-authored-by: CamilleLaVey <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3579
Reviewed-by: CamilleLaVey <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-20 00:52:07 +01:00
lizzie
6f9d025ad2
[host_memory] avoid doing madvise(2) syscall for a simple memset op ( #3108 )
...
Signed-off-by: lizzie [email protected]
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3108
Reviewed-by: DraVee <[email protected] >
Reviewed-by: CamilleLaVey <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-19 09:16:19 +01:00
lizzie
ab129cf314
Revert "[vk] Simplified layouts per driver configuration ( #3271 )" ( #3571 )
...
causes evil VUID bullshit
This reverts commit 75fda70db2 .
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3571
Reviewed-by: CamilleLaVey <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-19 04:07:45 +01:00
lizzie
72b3f3a8a5
[dynarmic] remove dead-code arm/thumb disassembler ( #3546 )
...
llvm already does this, no need to reinvent the wheel
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3546
Reviewed-by: DraVee <[email protected] >
Reviewed-by: CamilleLaVey <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-17 19:15:59 +01:00
lizzie
86e02aceba
[video_core] remove static texture scratch buffer and just use something allocated on vec ( #3560 )
...
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3560
Reviewed-by: CamilleLaVey <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-16 21:51:46 +01:00
lizzie
50ec0892c6
[meta] restore normal icon, valentine is over ( #3556 )
...
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3556
Reviewed-by: MaranBr <[email protected] >
Reviewed-by: DraVee <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-15 23:11:46 +01:00
lizzie
75ebfaa090
[common] autogenerate unique console serial for every install ( #3550 )
...
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3550
Reviewed-by: Maufeat <[email protected] >
Reviewed-by: DraVee <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-15 04:11:39 +01:00
lizzie
bcd22d9f8b
[windows] return x86 microsleep for mingw only ( #3544 )
...
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3544
Reviewed-by: Maufeat <[email protected] >
Reviewed-by: DraVee <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-15 03:41:25 +01:00
lizzie
4e7c036c7e
[hle] fix spl being registered as 'spl' instead of 'spl:' ( #3549 )
...
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3549
Reviewed-by: DraVee <[email protected] >
Reviewed-by: Maufeat <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-15 02:39:27 +01:00
lizzie
07bc77c7e7
[dynarmic] Fix Sonic X shadow regression due to aggresive const prop discarding NZCV side ffects ( #3534 )
...
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3534
Reviewed-by: DraVee <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-13 16:10:09 +01:00
lizzie
72973fe582
[dynarmic] fix NSBU regressions ( #3533 )
...
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3533
Reviewed-by: Maufeat <[email protected] >
Reviewed-by: MaranBr <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-13 11:51:34 +01:00
lizzie
c263b6af6f
[dynarmic] add current code page cache ( #3459 )
...
should make JIT translation a bit faster - especially for non-fastmem
test if thumb still werks
previously:
we read 32-bits one by one, and do translation **for each u32 we read**
now:
one big read of 4096 bytes (aligned of course), only 1 VAddr translation
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3459
Reviewed-by: DraVee <[email protected] >
Reviewed-by: CamilleLaVey <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-12 02:14:50 +01:00
lizzie
89bcb73d47
[dynarmic] x86 direct immediate call for host calls within 2G ( #3508 )
...
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3508
Reviewed-by: DraVee <[email protected] >
Reviewed-by: CamilleLaVey <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-12 01:45:22 +01:00
lizzie
634686d59b
[dynarmic] add back A64 identity pass ( #3519 )
...
results in way better codegen (less noise for movs and all dat)
i think it was removed by accident by me, oops
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3519
Reviewed-by: DraVee <[email protected] >
Reviewed-by: CamilleLaVey <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-12 01:33:51 +01:00
lizzie
d0af14632e
[dynarmic] UseScratchGpr for path with immediate additions; lea materialisation with in-range s32 immediate (+immediate carry) ( #2958 )
...
Allows regalloc to more aggressively take on registers for immediate codepath; also uses lea for stc/adc (since carry can equate +1 in some cases)
Signed-off-by: lizzie [email protected]
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2958
Reviewed-by: DraVee <[email protected] >
Reviewed-by: CamilleLaVey <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-12 01:33:22 +01:00
lizzie
c87986b276
[dynarmic] reuse IR::Block memory instead of creating new block each time ( #3501 )
...
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3501
Reviewed-by: DraVee <[email protected] >
Reviewed-by: CamilleLaVey <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-12 01:32:55 +01:00
lizzie
b600b90d53
[dynarmic] Make SetX/GetW pairs optimized by getSet pass ( #3518 )
...
this results in removed reloads for any code that uses those heavily :)
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3518
Reviewed-by: DraVee <[email protected] >
Reviewed-by: CamilleLaVey <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-12 01:32:26 +01:00
lizzie
f6547fac8c
[dynarmic] Define LSW on the same argument/use scratch gpr ( #3520 )
...
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3520
Reviewed-by: DraVee <[email protected] >
Reviewed-by: CamilleLaVey <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-11 23:13:40 +01:00
lizzie
9c685c1449
[dynarmic] inline SM4 ARM operation ( #3474 )
...
most useless function call ever
why even call? just look it up! it's right there!
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3474
Reviewed-by: DraVee <[email protected] >
Reviewed-by: crueter <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-11 19:41:36 +01:00
lizzie
850fc372b7
[dynarmic] AVX512CD impl for lzcnt16 ( #3499 )
...
dont have AVX512CD to verify the change; but should[tm] work
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3499
Reviewed-by: DraVee <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-11 19:36:23 +01:00
lizzie and Caio Oliveira
bad9d8043b
[dynarmic, externals] update to xbyak v7.33.2 ( #3505 )
...
PLEASE test, & provide gdb logs kthx!
mainly because there is a bug with pop/push for r8-r15:
https://github.com/herumi/xbyak/commit/94f6fe6941103a826db63d1e98cc27ba19024668
(may have been linked as to why Engage had SCREECH when doing xmm spills!)
Signed-off-by: lizzie <[email protected] >
Co-authored-by: Caio Oliveira <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3505
Reviewed-by: DraVee <[email protected] >
Reviewed-by: Maufeat <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-11 19:35:29 +01:00
lizzie
8e8e66f880
[vk] load VK_KHR_GET_SURFACE_CAPABILITIES_2 on drivers (not a hard requirement) for maintainance 1 ( #3514 )
...
fixes VVL, but doesnt make it a hard requirement so drivers which cant load it for some reason just, dont
Validation Error: [ VUID-vkCreateInstance-ppEnabledExtensionNames-01388 ] | MessageID = 0xe5e52180
vkCreateInstance(): pCreateInfo->ppEnabledExtensionNames[3] Missing extension required by the instance extension VK_EXT_surface_maintenance1: VK_KHR_get_surface_capabilities2.
The Vulkan spec states: All required extensions for each extension in the VkInstanceCreateInfo::ppEnabledExtensionNames list must also be present in that list (https://docs.vulkan.org/spec/latest/chapters/initialization.html#VUID-vkCreateInstance-ppEnabledExtensionNames-01388 )
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3514
Reviewed-by: CamilleLaVey <[email protected] >
Reviewed-by: DraVee <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-11 18:54:24 +01:00
lizzie
fec5ac2298
[meta] add San Valentine's 2026 icon variation ( #3476 )
...
Pinkish theme as well, very fruity, very nice
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3476
Reviewed-by: DraVee <[email protected] >
Reviewed-by: CamilleLaVey <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-11 05:04:39 +01:00
lizzie
19494bc7ac
[network, qt] use jthread and use std::vector for packet list instead of std::list ( #254 )
...
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/254
Reviewed-by: DraVee <[email protected] >
Reviewed-by: Maufeat <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-11 03:00:15 +01:00
lizzie and Caio Oliveira
6b3f8e1b62
[core/internal_network] cleanup network interface code a bit ( #2905 )
...
Signed-off-by: lizzie <[email protected] >
Co-authored-by: Caio Oliveira <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2905
Reviewed-by: Maufeat <[email protected] >
Reviewed-by: DraVee <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-10 22:17:24 +01:00
lizzie
aacc40254c
[cmake, ci/scripts] update missed YUZU_ENABLE_LTO -> ENABLE_LTO ( #3503 )
...
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3503
Reviewed-by: DraVee <[email protected] >
Reviewed-by: Maufeat <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-10 21:33:22 +01:00
lizzie and CamilleLaVey
efd26c3e4d
[android, nce] Remove LRU-Cache ( #3500 )
...
This PR removes the obsolete logic of LRU-cache within, removing old and dead code, allows Android to avoid unnecesary usage of memory caching, aside to prevent some old bugs to arise in other systems that allows NCE, improves a small margin of performance and makes memory ram consumption overall better, by 300 - 500mb, revealing that part of the code was still active, even if LRU wasn't enabled.
Signed-off-by: lizzie <[email protected] >
Signed-off-by: CamilleLaVey <[email protected] >
Co-authored-by: CamilleLaVey <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3500
Reviewed-by: DraVee <[email protected] >
Reviewed-by: CamilleLaVey <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-10 03:45:02 +01:00
lizzie and Caio Oliveira
a8093c2a3c
[*] change all std::unordered_map and std::unordered_set into ankerl::unordered_dense::map/set variants ( #3442 )
...
mainly doing this to reduce memory footprint; we all know how nice ankerl::unordered_dense is
in theory 4x faster - in practice these maps arent that "hot" anyways so not likely to have much perf gained
i just want to reduce mem fragmentation to ease my porting process, plus it helps other platforms as well (ahem weak Mediatek devices) :)
Signed-off-by: lizzie <[email protected] >
Co-authored-by: Caio Oliveira <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3442
Reviewed-by: DraVee <[email protected] >
Reviewed-by: CamilleLaVey <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-10 03:34:07 +01:00
lizzie
0f8b35c4cd
[vk, macos] fix missing VK_STRUCTURE_TYPE_METAL_SURFACE_CREATE_INFO_EXT sType ( #3510 )
...
sType wasn't properly set for the creationInfo struct (was init to 0)
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3510
Reviewed-by: CamilleLaVey <[email protected] >
Reviewed-by: DraVee <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-09 21:21:14 +01:00
lizzie
a56b8d3de8
[core, windows] remove microSleep() and simply wait on events like on linux ( #3498 )
...
we shall see if the original code was put there for a reason
or if the microsleeps actually are horrid
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3498
Reviewed-by: CamilleLaVey <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-09 01:14:32 +01:00
lizzie
d536a66010
[port, cmake] fix NetBSD/OpenBSD 7.8 build failure, update documentation ( #3272 )
...
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3272
Reviewed-by: MaranBr <[email protected] >
Reviewed-by: DraVee <[email protected] >
Reviewed-by: crueter <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-05 22:47:17 +01:00
lizzie
8907523ee4
[tools/windows] fix Windows on ARM installs for vulkan ( #3201 )
...
while we dont support MSVC on ARM64 yet, one day we may, and when that day comes someone will be annoyed their vulkan sdk won't install properly
Signed-off-by: lizzie [email protected]
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3201
Reviewed-by: crueter <[email protected] >
Reviewed-by: DraVee <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-05 22:44:09 +01:00
lizzie
9b1f6801a5
[vk] blacklist on NVIDIA drivers older than 580.119.02 the VK_EXT_vertex_input_dynamic_state ( #3379 )
...
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3379
Reviewed-by: DraVee <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-05 22:38:59 +01:00
lizzie
ff03ef657a
[cmake, macos] use CMAKE_SOURCE_DIR instead of relative icon paths ( #3370 )
...
should be a pretty innocuous change I believe
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3370
Reviewed-by: DraVee <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-05 22:38:55 +01:00
lizzie
913a74dbd3
[common] remove uneeded allocations in logs ( #3409 )
...
+ make filename be a const char
also mark as `noexcept` to avoid emission of uneeded unwind paths :)
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3409
Reviewed-by: DraVee <[email protected] >
Reviewed-by: Maufeat <[email protected] >
Reviewed-by: crueter <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-05 05:47:43 +01:00
lizzie
cbb92e75d3
[common] log modified settings first ( #3132 )
...
basically i want to see the modified options first :)
one of the few times i use deque without resorting to boost::container::deque, haha
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3132
Reviewed-by: crueter <[email protected] >
Reviewed-by: DraVee <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-05 05:22:47 +01:00
lizzie
bd7d0e0466
[dynarmic] remove RNG from ARM64 regalloc, use incremental LRU ( #3416 )
...
- Backported from Azahar's dynarmic <https://github.com/azahar-emu/dynarmic/commit/526227eebe1efff3fb14dbf494b9c5b44c2e9c1f >
> From: PabloMK7 <[email protected] >
> Date: Sun, 4 Jan 2026 13:57:44 +0100
> Subject: [PATCH] backend: Do not use random generator for reg allocation (#7 )
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3416
Reviewed-by: DraVee <[email protected] >
Reviewed-by: crueter <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-05 05:09:46 +01:00
lizzie
c156f4760f
[meta] update codeowners ( #3460 )
...
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3460
Reviewed-by: MaranBr <[email protected] >
Reviewed-by: Maufeat <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-03 23:42:53 +01:00
lizzie
8118557c17
[video_core/buffer_cache] Simplify word manager logic ( #3221 )
...
no significant performance gains expected
reduces memory (4096 word managers are active at any given time, this reduces total amount of memory used by a tiny margin)
also reduces code duplication due to templatery fuckery
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3221
Reviewed-by: DraVee <[email protected] >
Reviewed-by: MaranBr <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-01 01:55:47 +01:00
lizzie and Caio Oliveira
1925726b96
[android, core] pin core threads to logical CPUs 0-3 ( #3121 )
...
this basically allows the threads to exist in these logical CPUs, undisturbed, and without trashing each other's cache
this could improve performance, very tricky thing to pull off correctly, but again, this is mostly an experiment
will mainly benefit: Linux, Android, FreeBSD, Windows (not ARM)
Additionally, this means no context trashing :)
Signed-off-by: lizzie <[email protected] >
Co-authored-by: Caio Oliveira <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3121
Reviewed-by: DraVee <[email protected] >
Reviewed-by: MaranBr <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-02-01 01:54:59 +01:00
lizzie
acf7deea95
[vk] remove unused vk_texture_manager.cpp and unused shader conversions ( #3432 )
...
- Trivial dead code removal, also these shaders are useless
TODO: maybe in a future do YUV280 or whatever in shader for vic :)
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3432
Reviewed-by: CamilleLaVey <[email protected] >
Reviewed-by: DraVee <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-31 20:33:35 +01:00
lizzie and Caio Oliveira
df838a57fd
[dynarmic] reduce CPU usage on Spooky Mansion by making blocks be page-sized and page-aligned; replace std::set<> with ankerl set in arm64 ( #3253 )
...
reduces CPU usage by about 10-20%, may be placebo
Signed-off-by: lizzie [email protected]
Co-authored-by: Caio Oliveira <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3253
Reviewed-by: Maufeat <[email protected] >
Reviewed-by: DraVee <[email protected] >
Reviewed-by: MaranBr <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-31 00:21:45 +01:00
lizzie
81367e6e33
[qt] allow launch like: eden -f <game path>, instead of eden -f -g <game path> ( #3420 )
...
One of those annoyances that stubs your toe
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3420
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-30 17:27:48 +01:00
lizzie
025bc799f7
[vk] change UInt32->Int32 being used as texture gather offsets ( #3404 )
...
"So, found another macOS crash while testing Luigi's mansion 2. It looks like Metal is pretty picky about types and was crashing because the texture gather offsets were being passed as unsigned integers instead of signed ones.
I made a small tweak to the shader recompiler to force them to be signed, and the game boots fine now. Most other drivers usually handle signed offsets anyway, so it should be a safe fix for everyone." - rayman
Authored-by: rayman
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3404
Reviewed-by: MaranBr <[email protected] >
Reviewed-by: crueter <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-29 17:24:11 +01:00
lizzie
54af7abac4
[meta, macos] update plist, register extensions for .NCA/.NSO/.NSP/.XCI and update identifier ( #3369 )
...
- registers .nca/.nsp/.nsp/.xci file extensions under eden
- we use com.yuzu-emu.yuzu because 3rd party programs, mainly
- should work fine
- also gamemode enabled!!!
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3369
Reviewed-by: crueter <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-29 17:22:47 +01:00
lizzie
9cf3a04af3
[docs] initial document driver bugs ( #3382 )
...
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3382
Reviewed-by: DraVee <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-29 07:50:43 +01:00
lizzie
55ab6f1472
[macos, qt] Fix naturalDrawableSizeMVK ( #3403 )
...
"The issue is that MoltenVK needs the raw CAMetalLayer, but Qt 6 wraps it. I fixed it by making GetWindowSystemInfo search for the sublayer. Here is the patch file. It tested it on my Mac M1 Pro just now, and Eden plays the games now instead of crashing." - rayman
Authored-by: rayman
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3403
Reviewed-by: crueter <[email protected] >
Reviewed-by: DraVee <[email protected] >
Reviewed-by: CamilleLaVey <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-29 00:07:32 +01:00
lizzie
c974f3e0fb
[qt] fix the blurry and pixelled images of the games in the main screen ( #3398 )
...
Authored-by: Bruno <[email protected] >
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3398
Reviewed-by: MaranBr <[email protected] >
Reviewed-by: crueter <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-28 21:18:12 +01:00
lizzie
770be31030
[fiber] fix windows 11 regression with DefaultSettings due to fiber stack corruption ( #3400 )
...
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3400
Reviewed-by: crueter <[email protected] >
Reviewed-by: Maufeat <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-27 23:42:34 +01:00
lizzie
00193de0da
[ogl, vk] shader invalidation -> 13,16 ( #3397 )
...
Should fix 90% of issues found on 0.1.0
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3397
Reviewed-by: MaranBr <[email protected] >
Reviewed-by: DraVee <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-27 21:38:53 +01:00
lizzie
2f1f9be7a4
[common] remove assert extra newline ( #3362 )
...
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3362
Reviewed-by: Maufeat <[email protected] >
Reviewed-by: DraVee <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-26 17:21:57 +01:00
lizzie
1d13f7a666
[qt] let uuid be specified on new user creation dialogue ( #3351 )
...
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3351
Reviewed-by: crueter <[email protected] >
Reviewed-by: DraVee <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-22 19:12:50 +01:00
lizzie
ea932fbf40
[vk] properly handle multithreading with global constants without using TLS ( #3368 )
...
TL;DR basically multiple threads writing to the same memory, now they dont, everyone happy
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3368
Reviewed-by: DraVee <[email protected] >
Reviewed-by: MaranBr <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-22 11:34:08 +01:00
lizzie
6afe209b60
[android] fix blue tint on DBZ by using proper swizzle per format ( #3367 )
...
just another missing swizzle after translation... heh
Signed-off-by: lizzie [email protected]
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3367
Reviewed-by: MaranBr <[email protected] >
Reviewed-by: DraVee <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-22 03:14:03 +01:00
lizzie
368a8f9e3d
[android] fix resolution info.active causing 1/4th of screen rendering when using 0.5x instead of downscaled 0.5x ( #3361 )
...
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3361
Reviewed-by: MaranBr <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-21 03:55:34 +01:00
lizzie
a3fa666510
[android] fix discrepancy of MAXTEXTURE v. TEXTURE in setting string set ( #3360 )
...
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3360
Reviewed-by: crueter <[email protected] >
Reviewed-by: MaranBr <[email protected] >
Reviewed-by: DraVee <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-21 01:17:10 +01:00
lizzie
cb40b310f5
[opengl] fix GL_NV_geometry_shader_passthrough compiler complaints ( #3357 )
...
this can be seen immediately on startup of switch sports where the passthru geometry shader will spectacularly fail to compile because the driver complains about re-declaration
this is just a simple and quickie fix for that
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3357
Reviewed-by: Maufeat <[email protected] >
Reviewed-by: MaranBr <[email protected] >
Reviewed-by: DraVee <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-21 00:16:30 +01:00
lizzie
9dbb8c33e2
[opengl] remove leftover invalid uniform 2ui being sent every frame x every fb (doesnt exist on opengl_present.frag) ( #3358 )
...
the mfer straight up doesn't exist anymore in the .frag shader - probably a leftover, but right now spams a bunch of errors under graphics debugging on switch sports
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3358
Reviewed-by: Maufeat <[email protected] >
Reviewed-by: DraVee <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-21 00:12:18 +01:00
lizzie
16c7c03b33
[dynarmic] fix 64-bit indexing in pagetable being cutoff on ARM64 ( #3314 )
...
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3314
Reviewed-by: DraVee <[email protected] >
Reviewed-by: MaranBr <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-20 19:20:52 +01:00
lizzie
cb26ea154c
[vk, ogl/IR, dynarmic/IR] friendlier IR identity pointer chasing, inline AA passes ( #3250 )
...
Only merge once we find out wth is causing the crashes [we know it's fsr]
This reverts commit 82f9d489e7 .
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3250
Reviewed-by: DraVee <[email protected] >
Reviewed-by: MaranBr <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-20 02:36:24 +01:00
lizzie and Caio Oliveira
8663913510
[video_core/vic] Partial revert to fix Link Awakening's blue tint ( #3348 )
...
fixes link awakening intro screen on non-SSE 4.1
Signed-off-by: lizzie [email protected]
Co-authored-by: Caio Oliveira <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3348
Reviewed-by: DraVee <[email protected] >
Reviewed-by: Maufeat <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-19 23:58:14 +01:00
lizzie
651585963a
[core] Fix range batching using nil ranges ( #3349 )
...
this fixes mario rabbids flickering at start
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3349
Reviewed-by: Maufeat <[email protected] >
Reviewed-by: MaranBr <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-19 22:19:34 +01:00
lizzie and DraVee
b9da45cb1f
[tests] fix compile+linking issues with PlayTime ( #3345 )
...
fixes linking + comp issues but not the test themselves, who have now became invalid
Signed-off-by: lizzie <[email protected] >
Co-authored-by: DraVee <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3345
Reviewed-by: DraVee <[email protected] >
Reviewed-by: Maufeat <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-19 16:27:18 +01:00
lizzie
323e946d06
[android] exclude some strings that shouldn't need to be translated ( #3311 )
...
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3311
Reviewed-by: DraVee <[email protected] >
Reviewed-by: Maufeat <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-19 03:39:59 +01:00
lizzie
cb4239829f
[qt] remove duplicate applet launch code ( #3135 )
...
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3135
Reviewed-by: DraVee <[email protected] >
Reviewed-by: Maufeat <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-19 03:26:21 +01:00
lizzie
4025925539
[common/log] reoder file:func:line to file:line:func for nicer IDE integration with logs ( #3321 )
...
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3321
Reviewed-by: DraVee <[email protected] >
Reviewed-by: Maufeat <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-18 23:41:08 +01:00
lizzie
f45491e128
[cmake, core/hle] fix no-OpenSSL builds with BCAT news using unguarded httplib ( #3326 )
...
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3326
Reviewed-by: DraVee <[email protected] >
Reviewed-by: Maufeat <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-18 22:07:36 +01:00
lizzie
291b5febec
[common] merge RenderBackend and ShaderBackend options ( #3313 )
...
first of all it makes UI a tad bit more simple and benefits the end user
second, it allows to add new backends a bit more easily
and also, there was a shader backend option in android... we don't use opengl in android
so may as well save ourselves the trouble, aye

Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3313
Reviewed-by: Maufeat <[email protected] >
Reviewed-by: DraVee <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-18 12:33:00 +01:00
6ec6ca7c37
[clang, opengl] fix opengl build on PGO build and clang-cl on windows ( #3332 )
...
- [backported] opengl: fix PGO build error
(pulled from 34332ab81326c3f2dfae2fd11ff5b18619fedb1e@pflyly/eden-nightly)
- [clang] chore: fix std::min on windows
Signed-off-by: lizzie [email protected]
Co-authored-by: DraVee <[email protected] >
Co-authored-by: Escary <[email protected] >
Co-authored-by: Caio Oliveira <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3332
Reviewed-by: DraVee <[email protected] >
Reviewed-by: MaranBr <[email protected] >
Co-authored-by: Lizzie <[email protected] >
Co-committed-by: Lizzie <[email protected] >
2026-01-18 02:35:57 +01:00
lizzie
170f113453
[qt] remove VTable bouncing from unsafe options in CPU settings ( #3320 )
...
it's a workaround, not a speed optimisation
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3320
Reviewed-by: DraVee <[email protected] >
Reviewed-by: MaranBr <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-17 03:40:09 +01:00
lizzie
83a28dc251
[common, core] remove uneeded memory indirection overhead at startup ( #3306 )
...
for core stuff:
just remove unique ptrs that dont need any pointer stability at all (afterall its an allocation within an allocation so yeah)
for fibers:
Main reasoning behind this is because virtualBuffer<> is stupidly fucking expensive and it also clutters my fstat view
ALSO mmap is a syscall, syscalls are bad for performance or whatever
ALSO std::vector<> is better suited for handling this kind of "fixed size thing where its like big but not THAT big" (512 KiB isn't going to kill your memory usage for each fiber...)
for core.cpp stuff
- inlines stuff into std::optional<> as opposed to std::unique_ptr<> (because yknow, we are making the Impl from an unique_ptr, allocating within an allocation is unnecessary)
- reorganizes the structures a bit so padding doesnt screw us up (it's not perfect but eh saves a measly 44 bytes)
- removes unused/dead code
- uses std::vector<> instead of std::deque<>
no perf impact expected, maybe some initialisation boost but very minimal impact nonethless
lto gets rid of most calls anyways - the heavy issue is with shared_ptr and the cache coherency from the atomics... but i clumped them together because well, they kinda do not suffer from cache coherency - hopefully not a mistake
this balloons the size of Impl to about 1.67 MB - which is fine because we throw it in the stack anyways
REST OF INTERFACES: most of them ballooned in size as well, but overhead is ok since its an allocation within an alloc, no stack is used (when it comes to storing these i mean)
Signed-off-by: lizzie [email protected]
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3306
Reviewed-by: CamilleLaVey <[email protected] >
Reviewed-by: MaranBr <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-16 23:39:16 +01:00
lizzie
5768600c8b
[input_common] fix xinput raw not working on sdl2 ( #3305 )
...
this should fix issue where you couldn't connect more than 4 controllers at once
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3305
Reviewed-by: MaranBr <[email protected] >
Reviewed-by: crueter <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-16 22:18:19 +01:00
lizzie
8d9607ec60
[dynarmic] fix qlaunch on android ( #3310 )
...
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3310
Reviewed-by: Maufeat <[email protected] >
Reviewed-by: CamilleLaVey <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-14 23:08:57 +01:00
lizzie
f544004b5d
[core/hle] update firmware constants to 21.2.0 ( #3304 )
...
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3304
Reviewed-by: MaranBr <[email protected] >
Reviewed-by: DraVee <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-13 15:02:42 +01:00
lizzie
b1daffad19
[common] move spinlock to pure header def ( #3287 )
...
inline justified because it's like 4-5 assembly instructions max
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3287
Reviewed-by: DraVee <[email protected] >
Reviewed-by: CamilleLaVey <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-13 04:17:27 +01:00
lizzie
3bae47cd94
[dynarmic] backport WAITPKG based spinlocks ( #2614 )
...
Alder Lake/Tremont or superior feature only, based on archived UMWAIT by @Wunkolo. With some fixes due to register corruption/clobber (regalloc was blind to this)
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2614
Reviewed-by: MaranBr <[email protected] >
Reviewed-by: DraVee <[email protected] >
Reviewed-by: CamilleLaVey <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-13 03:37:56 +01:00
lizzie
2f0dc4e0ba
[externals] fix mbedtls patch for WoA ( #3303 )
...
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3303
Reviewed-by: DraVee <[email protected] >
Reviewed-by: CamilleLaVey <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-13 02:25:32 +01:00
lizzie
1da0a380da
[host_memory] remove unused fastmem fallback path ( #3133 )
...
basically nobody ever used that path, we instead soft-crash upon not being able to allocate **backing** storage, we do still attempt to allocate a virtual base through, but if backing storage fails for any reason whatsoever, we pretty much cant run the emulator anyways
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3133
Reviewed-by: DraVee <[email protected] >
Reviewed-by: CamilleLaVey <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-13 02:06:35 +01:00
lizzie
91596c6d1b
[dynarmic] fix ender magnolia crash on pre-AVX2 cpus ( #3297 )
...
supercedes #3295
Intel Atom N450 6 billion fps
also for the note, host calls are expensive as fuck
please test i didn't break other games kthx
Test with both a pre-AVX2 CPU (like i5-3th gen) AND a AVX2 cpu (like a i7-4th gen)
Signed-off-by: lizzie [email protected]
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3297
Reviewed-by: DraVee <[email protected] >
Reviewed-by: MaranBr <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-13 01:53:50 +01:00
lizzie
dceeccd04b
[dynarmic, common] pagetable clustering ( #3215 )
...
Raises the size of each page entry to 32 bytes, however, it merges them into a single structure
THEORETICALLY this is better since the access pattern observed corresponds to the program wanting backing_addr/pointers/blocks immediately after one another.
This may improve performance at the cost of some extra memory.
Another implementation would be to structure only backing_addr/blocks within the same virtual buffer.
Alas spamming virtual buffers is evil since each of them is a cache trasher (imagine jumping from wildly different block to wildly different block immediately).
Signed-off-by: lizzie [email protected]
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3215
Reviewed-by: DraVee <[email protected] >
Reviewed-by: CamilleLaVey <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-13 00:27:31 +01:00
lizzie
1cb8bcf531
[dynarmic] disable extra verbose debugging on release builds ( #3293 )
...
user doesn't need it and just wastes resources
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3293
Reviewed-by: Maufeat <[email protected] >
Reviewed-by: DraVee <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-11 05:32:24 +01:00
lizzie
fafded39ef
[externals] mbedtls chromeos fix arm_neon.h ( #3290 )
...
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3290
Reviewed-by: DraVee <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-10 23:38:44 +01:00
lizzie
c21f92340b
[core/hle/kernel] coalesce TLS from KernelCore to reduce query times ( #3283 )
...
- each time you reference TLS data the compiler generates calls to register _atexit() for them
- it also uses `mov %fs:%rax` or whatever, segmented moves are EXPENSIVE since they break pipeline
- occupies less TLS slots for windows :)
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3283
Reviewed-by: DraVee <[email protected] >
Reviewed-by: Maufeat <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-10 12:36:19 +01:00
lizzie
ea29f169e6
[video_core] remove decoders.cpp template<A,B> spam (16 copies of the same function) ( #3263 )
...
16 for SwizzleImpl
another 16 for SwizzleSubrectImpl
another 2 for Swizzle
while yes, inlining can be good, I think this kind of templatery fuckery is a bit excessive
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3263
Reviewed-by: DraVee <[email protected] >
Reviewed-by: Maufeat <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-10 12:27:57 +01:00
lizzie
4d7b51d798
[host1x/vic] fix bad vectorization codegen in (windows) ( #3285 )
...
clang and gcc appropriatedly generate paths... but you msvc? you generate NOTHING
* This PR fixed regression introduced on #2856 and fixed stuttering/low fps on Megaman Battle Network Legacy Collection v2 and also Sonic Racing Crossworld.
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3285
Reviewed-by: MaranBr <[email protected] >
Reviewed-by: DraVee <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-10 09:58:28 +01:00
lizzie
cad77dfac6
[meta] remove UTF8-hyphen on readme, rewrite to be more neutral ( #3273 )
...
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3273
Reviewed-by: DraVee <[email protected] >
Reviewed-by: CamilleLaVey <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-09 23:24:57 +01:00
lizzie
4cacf56cec
[core/hle] implement Unknown330 and stub extra 20/15 missing funcs ( #3269 )
...
stub for IApplicationFunctions::Unknown330; stubs for BSD sockets values
Signed-off-by: lizzie <[email protected] >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3269
Reviewed-by: DraVee <[email protected] >
Reviewed-by: Maufeat <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-06 22:44:57 +01:00
lizzie
82f9d489e7
Revert "[vk, ogl/IR, dynarmic/IR] friendlier IR identity pointer chasing, inline AA passes ( #2565 )" ( #3249 )
...
FUCK. Fixes crash on Linux and SteamDeck
.
This reverts commit 46b32b7688 .
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3249
Reviewed-by: DraVee <[email protected] >
Reviewed-by: CamilleLaVey <[email protected] >
Co-authored-by: lizzie <[email protected] >
Co-committed-by: lizzie <[email protected] >
2026-01-01 07:02:44 +01:00