Commit Graph

2960 Commits

Author SHA1 Message Date
georgemoralis
3c51b6f7f4 stubbed p2p calls 2025-04-30 13:20:54 +03:00
georgemoralis
618436b7e2 implement getsocketOptions 2025-04-30 13:08:34 +03:00
georgemoralis
247f37a701
Merge branch 'main' into net2 2025-04-30 12:41:56 +03:00
georgemoralis
53b2ccffca
New Crowdin updates (#2846)
* New translations en_us.ts (Vietnamese)

* New translations en_us.ts (Vietnamese)

* New translations en_us.ts (Vietnamese)

* New translations en_us.ts (Vietnamese)
2025-04-30 12:41:30 +03:00
georgemoralis
8261185bdb
Merge branch 'main' into net2 2025-04-30 12:38:07 +03:00
Marcin Mikołajczyk
fa9f58446f
Implement sceKernelPwritev (#2865) 2025-04-30 02:09:40 -07:00
squidbus
5e3157a82c
vk_rasterizer: Fix updating wrong color attachment when skipped by mask. (#2859) 2025-04-29 16:29:35 -07:00
georgemoralis
2ce8bb54b4 added more posix net calls 2025-04-29 20:58:15 +03:00
georgemoralis
016f15b390 added setsocketoptions 2025-04-28 22:32:06 +03:00
georgemoralis
802600f9f5
Merge branch 'main' into net2 2025-04-28 21:58:53 +03:00
lcjh
beb9c86749
Code Review: SuspiciousPriority (#2854)
Priority of the '&&' operation is higher than that of the '||' operation.It's possible that parentheses should be used in the expression.
2025-04-28 11:27:25 -07:00
georgemoralis
21f2fd8351 unsigned error log 2025-04-28 19:49:43 +03:00
georgemoralis
fa26a81ff3 added sys_socketclose 2025-04-28 19:42:02 +03:00
georgemoralis
5a29132bae posix_sendto , recvfrom 2025-04-28 18:43:07 +03:00
georgemoralis
8d2c9396df fixed posix socket? 2025-04-28 18:27:39 +03:00
georgemoralis
e6274fb04e fixed redirection 2025-04-28 17:12:23 +03:00
georgemoralis
1dd8871caa implemented sys_getsockname 2025-04-28 15:04:25 +03:00
georgemoralis
20563326c3 more posix net calls 2025-04-28 12:52:06 +03:00
georgemoralis
37664edcba
Merge branch 'main' into net2 2025-04-28 12:49:46 +03:00
squidbus
81fa9b7fff
shader_recompiler: Add lowering pass for when 64-bit float is unsupported. (#2858)
* shader_recompiler: Add lowering pass for when 64-bit float is unsupported.

* shader_recompiler: Fix PackDouble2x32/UnpackDouble2x32 type.

* shader_recompiler: Remove extra bit cast implementations.
2025-04-28 00:04:16 -07:00
squidbus
385c5a4507 fix: Add missing OpSelectionMerge in bounds check. 2025-04-27 21:53:36 -07:00
squidbus
59d060bc16 fix: gcc compile 2025-04-27 21:06:10 -07:00
squidbus
83fd0683fa fix: Properly enable depthBounds feature. 2025-04-27 20:57:04 -07:00
squidbus
81ad31ce31
pp_pass: Use correct surface format. (#2860) 2025-04-27 20:56:17 -07:00
MajorP93
ff984d3cde
ci: Use mold linker for Linux builds (#2847)
* The default linker which happens to be BFD in Ubuntu 24.04 does not support Clang's ThinLTO which CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE=ON tries to enable.
* Using mold linker fixes this and reduces build time a bit.
* For consistency reasons we enable mold linker for GCC builds aswell.
2025-04-27 20:34:59 -07:00
squidbus
b505829e16
lower_buffer_format_to_raw: Fix handling of format remapping. (#2857) 2025-04-27 16:52:52 -07:00
georgemoralis
caa55552b2
Merge branch 'main' into net2 2025-04-28 00:06:24 +03:00
georgemoralis
dd18fd76ee added sys_accept implementation 2025-04-28 00:05:52 +03:00
georgemoralis
1c4a18ebd5 more fix 2025-04-27 21:35:29 +03:00
Valdis Bogdāns
254375ef0c
Update ime_dialog.h (#2853)
Fix the incorrect ORBIS_IME_DIALOG_MAX_TEXT_LENGTH; a larger value is required for at least the game Undertale
2025-04-27 20:57:20 +03:00
Vinicius Rangel
cef795b80b
devtools: persist fsr configs (#2852)
Saves FSR config to imgui.ini so it won't reset every startup
2025-04-27 13:32:29 -03:00
georgemoralis
93c96db278 fixes for linux+macOS 2025-04-27 19:20:45 +03:00
georgemoralis
ebd6e7625f clang fixes 2025-04-27 19:09:04 +03:00
georgemoralis
289c2943f0 some net calls implementation 2025-04-27 19:06:30 +03:00
georgemoralis
1ef71f3588 implemented net basic calls 2025-04-27 18:33:55 +03:00
georgemoralis
ee8d50fd18 added winsock to SCE* error codes conversion 2025-04-27 18:15:25 +03:00
georgemoralis
aeca422367 sockets interface 2025-04-27 12:10:15 +03:00
georgemoralis
07a8f3d650 logging 2025-04-27 11:03:42 +03:00
georgemoralis
a314b7a45d init winsock2 2025-04-27 09:55:01 +03:00
georgemoralis
c1b3328801
Merge branch 'main' into net2 2025-04-27 09:40:47 +03:00
Stephen Miller
410313ca87
Implement sceKernelGetModuleInfo, sceKernelGetModuleInfoInternal, and sceKernelGetModuleList (#2850)
* Fix GetModule exception

Simple mistake

* Prevent OOB writes in add_segment

Due to mistakes in our linker logic, OpenOrbis' libSceFios2 causes OOB writes here.
While the ideal solution would be to fix the erroneous behavior, the best I'm capable of right now is just preventing the OOB writes.

* Implement sceKernelGetModuleInfo, sceKernelGetModuleInfoInternal, sceKernelGetModuleList

These are implemented based on hardware observations and a homebrew sample made by red_prig. I've yet to test what error cases can show up.

* Clang

* Accurate error returns

If there are more modules than provided space, then return kernel ENOMEM.
If either handles or out_count are null, return kernel EFAULT.

* Accurate error checks in ModuleInfo functions

* Clang
2025-04-27 09:32:01 +03:00
Stephen Miller
c09fff2da6
VideoOut event cleanup (#2849)
* Readable VideoOutEvent data packing

Inspired by the work of former shadPS4 devs and mostly based on red_prig's current code.

* Apply DceData struct to sceVideoOutGetEventCount

Makes the code easier to read

* Update equeue.h

* Update main.cpp

* Update equeue.h

* Proper struct names

* Fix hint mask

Thanks to red_prig for catching my mistake here.

* Clang

* Fix header discrepancy
2025-04-27 09:04:17 +03:00
georgemoralis
8124b10b4a some kernel net calls 2025-04-26 12:55:10 +03:00
baggins183
e816bc4b99
Use GetSrc in VALU insts instead of assuming vector reg (was vcc_lo) (#2845)
* Use GetSrc in v_add_i32 instead of assuming vector reg (was vcc_lo)

* some other cases
2025-04-25 19:44:03 -07:00
MajorP93
632ed99ee7
ci: Bump Clang to 19 for Linux builds, align LLVM repository with runner version (#2844)
* ci: Bump Clang to 19 for Linux builds
* PR #2434 was intended to bump Clang to 19. In reality it only made sure that clang-format-19 is being used and that the shadPS4 codebase can be compiled with Clang 19.
This PR makes sure that Clang 19 is actually being used for Linux builds which makes sense since we use Clang 19 for Windows builds already (Since Visual Studio 17.13 Clang 19 is being shipped).

* ci: Use noble variant of LLVM repository
* shadPS4 has been using Ubuntu 24.04 runners for some time now. This commit makes sure the correct LLVM repository is being used.
2025-04-25 15:06:51 -07:00
georgemoralis
82fcc0e3f7 sceNetRecv,sceNetRecvFrom,sceNetRecvMsg RE 2025-04-26 00:08:59 +03:00
georgemoralis
26407d9d72 sceSend,sceSendTo,sceSendMsg 2025-04-25 19:18:31 +03:00
georgemoralis
70b51fa93b
Merge branch 'main' into net2 2025-04-25 09:21:53 +03:00
squidbus
15d6a45dcd
externals: Simplify MoltenVK bundling. (#2842) 2025-04-24 19:40:50 -07:00
Dmugetsu
d370ea32f4
Sysmodules (#2826)
* Some sysmodules inconsistencies fixed. Based on Visual studio flags if they are irrelevant lmk

* Suggestions - info passed to sceKernelGetModuleInfoForUnwind and if name field matches it gets zeroed

* Final suggestions

* reverting OrbisModuleInfoForUnwind and modifing header.
2025-04-24 14:46:22 -07:00