Commit Graph

10976 Commits

Author SHA1 Message Date
lizzie 1f2d7888b0 fractional time -W 2026-08-18 17:54:09 +00:00
lizzie e3c526d80b ffs windows 2026-08-18 17:54:09 +00:00
lizzie 4e4d61f9c3 evil noperm 2026-08-18 17:54:09 +00:00
lizzie 8fbf92d6b3 fuck errrno2 2026-08-18 17:54:09 +00:00
lizzie a0212ad661 acurater errno 2026-08-18 17:54:09 +00:00
lizzie 2c19c4658a ALL THE ERROR CODES 2026-08-18 17:54:08 +00:00
lizzie 5a35f45140 fixup errno 2026-08-18 17:53:55 +00:00
lizzie 2838141f21 min of 1sec 2026-08-18 17:53:55 +00:00
lizzie 757cfdc7fd account for timeout 2026-08-18 17:53:55 +00:00
lizzie 3cdb6d560b fix tcp on ssbu mod 2026-08-18 17:53:55 +00:00
lizzie 94a65a9186 fallback only if it failed 2026-08-18 17:53:55 +00:00
lizzie 82b79fe2e2 implode windows 2026-08-18 17:53:55 +00:00
lizzie 2c8c10ab9e better 2026-08-18 17:53:55 +00:00
lizzie 2b97d13c85 evil ping 2026-08-18 17:53:55 +00:00
lizzie 8ceecf6259 don't murder me for this change 2026-08-18 17:53:55 +00:00
lizzie cee3a37ecb need the extra threads... 2026-08-18 17:53:54 +00:00
lizzie df587e1a95 more gymnastics to give fake results? 2026-08-18 17:53:36 +00:00
lizzie df1fcbd6b1 first fake icmp impl 2026-08-18 17:53:36 +00:00
lizzie af2ee98c1b fix ldn sockets being regarded as normal socks 2026-08-18 17:53:30 +00:00
lizzie cfbea3a2d7 fx2 2026-08-18 17:53:30 +00:00
lizzie c61947e66a fix??? 2026-08-18 17:53:30 +00:00
lizzie cf65654d1e fix sockets 2026-08-18 17:53:29 +00:00
lizzie f736637e1f struct pollfd 2026-08-18 17:53:11 +00:00
lizzie 697cb7920d fix windows screaming 2026-08-18 17:53:11 +00:00
lizzie d258152e2a musl scared of defines ooo 2026-08-18 17:53:11 +00:00
lizzie b77d23c232 airplane mode takes priority 2026-08-18 17:53:11 +00:00
lizzie ba61c82838 uh 2026-08-18 17:53:11 +00:00
lizzie 43cc03e72f add tcp options 2026-08-18 17:53:11 +00:00
lizzie 46858f48c7 nuke extra threads, extra error support; use span instead of vector for poll fds 2026-08-18 17:53:10 +00:00
lizzie f52d3f57f6 we love when cURL has bugs? 2026-08-18 17:52:57 +00:00
lizzie 1bacb8e318 add extra polling types 2026-08-18 17:52:57 +00:00
lizzie a00b7b65fa various fixes to sockopt 2026-08-18 17:52:57 +00:00
lizzie c50b160955 allow configure socket level 2026-08-18 17:52:57 +00:00
lizzie 0d767e7194 coalesce the various sockopt 2026-08-18 17:52:57 +00:00
lizzie 5335810245 honour the provided MSG flags 2026-08-18 17:52:57 +00:00
lizzie 088c5d136e extra fixups 2026-08-18 17:52:56 +00:00
lizzie 63a0e68225 fixup stuffs for windows 2026-08-18 17:52:13 +00:00
lizzie 8e35edca62 fix messages native flags 2026-08-18 17:52:13 +00:00
lizzie 0b751c01de properly handle writebuffer and dont write OOB 2026-08-18 17:52:13 +00:00
lizzie 8bdf2f3e9b fixes for non BSD 2026-08-18 17:52:13 +00:00
lizzie ecc6926988 [net] refactor to remove uneeded abstraction layer
Signed-off-by: lizzie <lizzie@eden-emu.dev>
2026-08-18 17:52:12 +00:00
lizzie a41a98028a [hle/service] stub missing homebrew services, fix NPad/caps crashes (#4264)
Signed-off-by: lizzie <lizzie@eden-emu.dev>

- [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions).
- [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md)
- [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md) to the best of my ability.

-------------------

this PR adds various missing services (acc:e, acc:e:u1)
to expand homebrew compatibility
notably this also fixes NPad related crashes due to nullref

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4264
Reviewed-by: Maufeat <sahyno1996@gmail.com>
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
2026-08-18 18:11:33 +02:00
crueter 8648c27cbb [cmake] Simplify DetectPlatform and normalize platform names (#4183)
Since 3.25 introduced `LINUX` and `BSD`, use them, and standardize other platforms to that style

Signed-off-by: crueter <crueter@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4183
Reviewed-by: Samuel <lizzie@eden-emu.dev>
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
2026-08-10 04:57:38 +02:00
lizzie 7731b5bc86 [core/hle/kernel/svc] demote ResetSignal log Debug->Trace (#4161)
I don't see why it's LOG_DEBUG if WaitSynchronization is LOG_TRACE, leaves incomplete data
may as well bundle it to trace with the others? :)

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

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4161
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
Reviewed-by: Maufeat <sahyno1996@gmail.com>
2026-08-09 14:13:27 +02:00
lizzie c4ab2f6b9e [cmake] Add ENABLE_WERROR option (#4080)
Should warnings be errors? that's a philosophical debate which I can only answer with "no, but if you think otherwise here is an option for you"

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

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4080
Reviewed-by: crueter <crueter@eden-emu.dev>
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
2026-08-09 02:56:28 +02:00
crueter a3d32a18b8 [meta] Discourage profanity usage (#4239)
I'm not into millennial humor, personally.

Proactively removed as much profanity as I could grep.

Signed-off-by: crueter <crueter@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4239
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Reviewed-by: Samuel <lizzie@eden-emu.dev>
2026-08-09 02:53:16 +02:00
CamilleLaVey 3f52bf4b4b [core, gpu, threads] Multithreading refactor (#4254)
This insufferable work tries to cover some holes on previous threading implementation from yuzu's team, starting with Windows and Linux reordering of priorities (NICE), reworks previous Android's threading and cpu affinity with adpf, adjust emulated clocks/gpu for better "accuracy" with their work, bumps android minSDK for all flavors, legacy will now work with AP 29 to cover A10 - A12, standard will reach A13 as base and finally the optimized build will come with API 35, mostly targeted on devices with A15 support and newer, NDK and AGP wasn't upgraded yet. The performance cost efficiency have been improved based on device power configuration; preventing overheating if certain devices tended to fall into NICE0 (not allocated threads priority, all task ran with higher priority, 11 tasks running within the limited 2 - 7 threads available on the most common configuration 1x3x4 or 1x4x3).

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4254
2026-08-08 04:39:47 +02:00
lizzie 8fe1e6efa2 [core/file_sys] implement IApplicationFunctions::GetPseudoDeviceId; common PatchManager::GetNACP for base|updates (#4159)
a bit of refactoring so there's less code duplication...
probably a good idea to make it a lambda anyways
maybe this is why QLauncher didn't have proper DLCs and updates?

either way "GetPseudoDeviceId" is now implemented (still stubbed) with a proper hash instead of just 0

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

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4159
Reviewed-by: Maufeat <sahyno1996@gmail.com>
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
2026-08-04 01:50:54 +02:00
lizzie 39763e7321 [core/hle/services/am] nuke ButtonPoller and Mouse thread (#4229)
Signed-off-by: lizzie <lizzie@eden-emu.dev>

- [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions).
- [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md)
- [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md) to the best of my ability.

-------------------

doesn't even do anything now, please check if controller i/o is affected by this change
this should also fix latency issues with the mouse
the ButtonPoller thread isn't longer required since we update the state immediately with the .on_change callback registered

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4229
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
2026-07-26 05:11:03 +02:00
lizzie dc1486485b [core/hle/service] move 'loader'+'jit' to guest thread (#4148)
loader is barely called whereas audio for example is called super often
thus demote loaderr

jit is only ever used by Super Mario 3D stars, and no other
games require this to be a separate jit thread
additionally even of 3D stars this is called often chary
so no; we dont need a dedicated thread for it either way

this pr should help low power devices/devices with less cores/threads
to schedule the existing emulator threads more efficiently
also moving to guest means the CPU threads get more loaded with
stuffings, which is a good thing as most of the time theyre
sleeping and/or waiting for a mutex

Signed-off-by: lizzie <lizzie@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4148
Reviewed-by: Maufeat <sahyno1996@gmail.com>
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
2026-07-25 23:46:59 +02:00