Commit Graph

29029 Commits

Author SHA1 Message Date
lizzie 39fd76edd7 windows prot=0 2026-09-27 10:12:49 +02:00
lizzie bb8efd44ed fix pings? 2026-09-27 10:12:49 +02:00
lizzie f9209bade4 fix winbloat 2026-09-27 10:12:49 +02:00
lizzie 33656ac087 fractional time -W 2026-09-27 10:12:49 +02:00
lizzie 2c540edb20 ffs windows 2026-09-27 10:12:49 +02:00
lizzie 7718a3077c evil noperm 2026-09-27 10:12:49 +02:00
lizzie 5a11bf8d7e fuck errrno2 2026-09-27 10:12:49 +02:00
lizzie a076805ca4 acurater errno 2026-09-27 10:12:49 +02:00
lizzie a418632d4a ALL THE ERROR CODES 2026-09-27 10:12:49 +02:00
lizzie d595a02b56 fixup errno 2026-09-27 10:12:49 +02:00
lizzie 48cc80d276 min of 1sec 2026-09-27 10:12:49 +02:00
lizzie 1c3657fd9c account for timeout 2026-09-27 10:12:49 +02:00
lizzie 80a6af639b fix tcp on ssbu mod 2026-09-27 10:12:49 +02:00
lizzie dc88d95e8d fallback only if it failed 2026-09-27 10:12:49 +02:00
lizzie c0cfd02731 implode windows 2026-09-27 10:12:49 +02:00
lizzie c8d514da84 better 2026-09-27 10:12:49 +02:00
lizzie 767a0f7ccd evil ping 2026-09-27 10:12:49 +02:00
lizzie 538452bb0c don't murder me for this change 2026-09-27 10:12:49 +02:00
lizzie 487a07ac78 need the extra threads... 2026-09-27 10:12:49 +02:00
lizzie 85d7e44712 more gymnastics to give fake results? 2026-09-27 10:12:49 +02:00
lizzie 69685a86bd first fake icmp impl 2026-09-27 10:12:49 +02:00
lizzie 4c9cfbbd7d fix ldn sockets being regarded as normal socks 2026-09-27 10:12:49 +02:00
lizzie d82f7e4291 fx2 2026-09-27 10:12:49 +02:00
lizzie d9fd21ab5c fix??? 2026-09-27 10:12:49 +02:00
lizzie 1e2fe06834 fix sockets 2026-09-27 10:12:49 +02:00
lizzie f8e0a62a6c struct pollfd 2026-09-27 10:12:49 +02:00
lizzie 4711730ced fixup tests 2026-09-27 10:12:49 +02:00
lizzie 7966ec8809 fix windows screaming 2026-09-27 10:12:49 +02:00
lizzie 25f56fdf69 musl scared of defines ooo 2026-09-27 10:12:49 +02:00
lizzie 8f0cc0922c airplane mode takes priority 2026-09-27 10:12:49 +02:00
lizzie 744668e405 uh 2026-09-27 10:12:49 +02:00
lizzie 1914cdf463 add tcp options 2026-09-27 10:12:49 +02:00
lizzie 0d6334af1c nuke extra threads, extra error support; use span instead of vector for poll fds 2026-09-27 10:12:49 +02:00
lizzie b87d4537e1 we love when cURL has bugs? 2026-09-27 10:12:49 +02:00
lizzie 5aaff108f6 add extra polling types 2026-09-27 10:12:49 +02:00
lizzie a4c469c984 various fixes to sockopt 2026-09-27 10:12:49 +02:00
lizzie 58d6833b8e allow configure socket level 2026-09-27 10:12:49 +02:00
lizzie 4141b4148a coalesce the various sockopt 2026-09-27 10:12:49 +02:00
lizzie f52339bcbb honour the provided MSG flags 2026-09-27 10:12:49 +02:00
lizzie f82682b1a6 extra fixups 2026-09-27 10:12:49 +02:00
lizzie 2a3823b4ae fixup stuffs for windows 2026-09-27 10:12:49 +02:00
lizzie 02c7b30cc1 fix messages native flags 2026-09-27 10:12:49 +02:00
lizzie 9a08b5ca7d properly handle writebuffer and dont write OOB 2026-09-27 10:12:49 +02:00
lizzie 8bec8954c5 fixes for non BSD 2026-09-27 10:12:49 +02:00
lizzie 967b27b9c5 [net] refactor to remove uneeded abstraction layer
Signed-off-by: lizzie <lizzie@eden-emu.dev>
2026-09-27 10:12:49 +02:00
Exverge 37fe911952 [common/sparse_large_vector] correct Win32 exception handler (#4481)
- [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.

-------------------
Adds mutex to prevent multiple threads from accessing the vector at the same time and corrects the Windows exception handler to use the correct faulting address used by the exception handler (previously used the instruction address instead of the fault address) and properly shifts the stored values for the handler.
Fixes weird compiler-specific bugs on Windows

Co-authored-by: bruno <protoxseven@gmail.com>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4481
Reviewed-by: lizzie <lizzie@eden-emu.dev>
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
2026-09-26 16:02:35 +02:00
MaranBr f273423b2b [buffer_cache] Simplify GPU fence synchronization and remove GPU buffer readback (#4477)
- [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 is understood to improve GPU synchronization within the buffer cache in certain edge cases.

GPU Fence Strict is no longer necessary. We now apply the stronger synchronization only in the specific case that actually requires it.

The GPU Buffer Readback has been removed, as it is no longer needed following PR #4473.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4477
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
2026-09-26 05:01:27 +02:00
MaranBr 87d2f03c39 [hid_core] Code cleanup (#4461)
- [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 is just a code cleanup. This is no longer necessary due to commit #4457.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4461
Reviewed-by: lizzie <lizzie@eden-emu.dev>
2026-09-26 02:21:45 +02:00
lizzie bebc19da32 [common] Use std::make_unique_for_overwrite<T> in ScratchBuffer, remove polyfill (#4432)
Original `make_unique_for_overwrite.h` is well defined acc. to standard https://en.cppreference.com/cpp/memory/unique_ptr/make_unique, but by now most libc++ supports the function, so no need for polyfill.

Test that this didn't break anything (for example, Megaman game that has video at the start), or anything using VIC/IPC.

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.

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

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4432
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
2026-09-25 07:54:49 +02:00
PavelBARABANOV 99bf8cf51a [am, renderer_vulkan] Fix overlay darkening and SGSR black screen on applets (#4475)
- [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.

-------------------
- Overlay applet: use IsOverlayOpenLocked to pick the Z-index, so the darkening background is only layered above the game while the overlay is open.
- Vulkan: skip the SGSR pass for applet layers to avoid presenting a black frame.
- Partial revert fix crashes in games on UE with the overlay applet enabled.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4475
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
Reviewed-by: lizzie <lizzie@eden-emu.dev>
2026-09-25 05:29:08 +02:00