Commit Graph

25507 Commits

Author SHA1 Message Date
lizzie de7271297f fucking shit 2026-09-11 17:51:57 +00:00
lizzie ea66212cbf windows prot=0 2026-09-11 17:51:57 +00:00
lizzie 4f2d0b17c3 fix pings? 2026-09-11 17:51:57 +00:00
lizzie 2a21b0bc22 fix winbloat 2026-09-11 17:51:57 +00:00
lizzie dbac6a770a fractional time -W 2026-09-11 17:51:57 +00:00
lizzie 394f4dfdd9 ffs windows 2026-09-11 17:51:57 +00:00
lizzie 11714ef3ff evil noperm 2026-09-11 17:51:57 +00:00
lizzie c406c20924 fuck errrno2 2026-09-11 17:51:57 +00:00
lizzie bf97f49de9 acurater errno 2026-09-11 17:51:57 +00:00
lizzie d9b15eceb7 ALL THE ERROR CODES 2026-09-11 17:51:57 +00:00
lizzie 454cf4fd70 fixup errno 2026-09-11 17:51:57 +00:00
lizzie ac9fed6eae min of 1sec 2026-09-11 17:51:57 +00:00
lizzie 6481da5103 account for timeout 2026-09-11 17:51:57 +00:00
lizzie eb76cec263 fix tcp on ssbu mod 2026-09-11 17:51:57 +00:00
lizzie a7074524ec fallback only if it failed 2026-09-11 17:51:57 +00:00
lizzie e8c9e5a1df implode windows 2026-09-11 17:51:57 +00:00
lizzie e1f54612e5 better 2026-09-11 17:51:57 +00:00
lizzie 723e6d01b4 evil ping 2026-09-11 17:51:57 +00:00
lizzie 6d4fea2664 don't murder me for this change 2026-09-11 17:51:57 +00:00
lizzie 7bc45e1c0a need the extra threads... 2026-09-11 17:51:57 +00:00
lizzie 0fcda44a32 more gymnastics to give fake results? 2026-09-11 17:51:57 +00:00
lizzie 979ca1cc96 first fake icmp impl 2026-09-11 17:51:57 +00:00
lizzie 2c5ab32384 fix ldn sockets being regarded as normal socks 2026-09-11 17:51:57 +00:00
lizzie d65f851a5b fx2 2026-09-11 17:51:57 +00:00
lizzie d1f58ea6ce fix??? 2026-09-11 17:51:57 +00:00
lizzie d67295dda4 fix sockets 2026-09-11 17:51:57 +00:00
lizzie 097c9d1296 struct pollfd 2026-09-11 17:51:57 +00:00
lizzie 66055a8413 fixup tests 2026-09-11 17:51:57 +00:00
lizzie 37d53b6fac fix windows screaming 2026-09-11 17:51:57 +00:00
lizzie 26ac9872af musl scared of defines ooo 2026-09-11 17:51:57 +00:00
lizzie 623c706ae0 airplane mode takes priority 2026-09-11 17:51:57 +00:00
lizzie f408514a2d uh 2026-09-11 17:51:57 +00:00
lizzie 4757ae5996 add tcp options 2026-09-11 17:51:57 +00:00
lizzie 9463e2b6dd nuke extra threads, extra error support; use span instead of vector for poll fds 2026-09-11 17:51:57 +00:00
lizzie e5049d0f16 we love when cURL has bugs? 2026-09-11 17:51:57 +00:00
lizzie 4924009ae7 add extra polling types 2026-09-11 17:51:57 +00:00
lizzie 7ea3737643 various fixes to sockopt 2026-09-11 17:51:57 +00:00
lizzie 8e1b7b491a allow configure socket level 2026-09-11 17:51:57 +00:00
lizzie 550054f29b coalesce the various sockopt 2026-09-11 17:51:57 +00:00
lizzie 766b1fe472 honour the provided MSG flags 2026-09-11 17:51:57 +00:00
lizzie 8374ed7c42 extra fixups 2026-09-11 17:51:57 +00:00
lizzie 8732e5961f fixup stuffs for windows 2026-09-11 17:51:56 +00:00
lizzie 59ace7973a fix messages native flags 2026-09-11 17:51:56 +00:00
lizzie a164079940 properly handle writebuffer and dont write OOB 2026-09-11 17:51:56 +00:00
lizzie fd19e5e900 fixes for non BSD 2026-09-11 17:51:56 +00:00
lizzie f314d5c44d [net] refactor to remove uneeded abstraction layer
Signed-off-by: lizzie <lizzie@eden-emu.dev>
2026-09-11 17:51:52 +00:00
lizzie 8a22f1845b [hle] Enforce max_sessions, add bpc:ams service (#4394)
As per switchbrew, as per atmosphere, and some poking around.

bpc:ams stubbed for now.

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/4394
Reviewed-by: Maufeat <sahyno1996@gmail.com>
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
2026-09-11 21:38:52 +02:00
xbzk 301da63a15 [audio] hint openslES as audio driver on android to fix mute screen recording issue (#4397)
- [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.

-------------------
After audio backend migration some android devices screen captures became mute.
Liz instructed to enable openSL ES via some SDL hint.
Found the proper one in https://wiki.libsdl.org/SDL3/SDL_HINT_AUDIO_DRIVER.
Added it restricted to android.

UPDATE:
Got myself wondering how things work on SDL after using that hint, and checked that one must provide a list of drivers "opensles,aaudio,..." to be attempted.
Afraid of some devices failing on openSL ES, and to avoid hand providing entire list, i've added fallback logic so entire SDL's driver list can be tried just in case.
Default list in https://github.com/libsdl-org/SDL/blob/release-3.4.14/src/audio/SDL_audio.c.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4397
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Reviewed-by: lizzie <lizzie@eden-emu.dev>
2026-09-11 21:38:12 +02:00
lizzie c95ad020fb [gpu] Fix infinite hangup/freezes at shutdown/reset (#4395)
Thread may be destroyed at dtor(), but it hasn't fully shut down, so before notify shutdown, request immediate stop (effective immediately).

Like the issue was that the thread didn't want to stop running, thus it would hang, it would also reference objects which were being destroyed without waiting for them to actually be destroyed
So it would reference invalid data
This PR tells the thread: "hey, STOP now, and DESTROY yourself"
So all of that should be avoided

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/4395
Reviewed-by: Maufeat <sahyno1996@gmail.com>
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
2026-09-11 15:29:52 +02:00
xbzk f3af5d0c25 [fs] moved temp folder cleanup upstream (per-application level) to avoid per-program retrigger (#4375)
- [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 issue was observed in MGS Master Collection Volume II, MGS4: Guns of the Patriots, Chapter 4: Shadow Moses

That title is a bundle, and that specific chapter is a program (MGS 1st stage), launched by a program (MGS4), launched by an application (main title bundle).

Upon decoding guest panic message, it was exposed that an abort was triggered after trying to create a save in nand/temp/gclvar.bak file.
Further instrumentation exposed the error on that file's path, caused from a previous deletion of that folder.
In the same session that folder had been already cleaned and created successfully, which evidences an undesired re-cleaning of the temp structure.

The issue was the fact that the MGS4 to MGS transition also calls EnsureSaveData>...>SaveDataFactory creator, and that was destroying the previous created temp structure. After that stage, the return from MSG to MSG4 was causing the same issue again.

By moving the deletion to the guest application level, the factory creation was called only once, as it should be, and the issue is gone.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4375
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Reviewed-by: lizzie <lizzie@eden-emu.dev>
2026-09-10 22:30:07 +02:00