Commit Graph

3828 Commits

Author SHA1 Message Date
georgemoralis
cecd98aa28 reset my latest try 2026-03-04 22:08:46 +02:00
Ultra
e121b228ea Clang and Copyright© year (#4099)
* copyright year + clang :)

* clang

* that did it hopefully?
2026-03-04 22:06:33 +02:00
georgemoralis
eb7118e6da try not to erase old settings 2026-03-04 22:06:27 +02:00
kalaposfos13
feba8a8ffd LLE libSceMoveTracker (still doesn't work, but at least it doesn't crash on boot either) 2026-03-04 17:12:32 +01:00
Miller
7ba8f046ec Merge branch 'malloc_init_heap_api_lle' into user_and_settings 2026-03-04 10:06:51 -06:00
Stephen Miller
a019aeee4d
Merge branch 'shadps4-emu:main' into malloc_init_heap_api_lle 2026-03-04 10:05:17 -06:00
kalaposfos13
8f3e3c2a69 Fix scePadOpen error returns and decouple pad handles from user IDs 2026-03-04 16:36:50 +01:00
Ultra
a595661d98
i love clang (#4098)
* clang emulator_settings.h

* Update np_manager.cpp

* Update userservice.cpp

* Update user_manager.h
2026-03-04 14:40:53 +02:00
georgemoralis
1ad9276e8a added merged strategy for user.json 2026-03-03 19:27:31 +02:00
kalaposfos13
9a487010d7 fossilised code elimination 2026-03-03 15:07:26 +01:00
kalaposfos13
83ad83c8ef reorganization + don't rebuild everything on changing the user manager + save user manager state on setter functions 2026-03-03 14:38:59 +01:00
kalaposfos13
d20df93f31 Finish users.json migration 2026-03-03 14:30:51 +01:00
georgemoralis
fefa647e1e ... 2026-03-03 14:13:09 +02:00
georgemoralis
47318e60b9 draft user_settings 2026-03-03 14:12:24 +02:00
kalaposfos13
296cab2129 Fix getting default user 2026-03-03 11:45:12 +01:00
kalaposfos13
8f97ebcf2c 💀 2026-03-03 11:25:56 +01:00
kalaposfos13
7c9e69dd22 LLE PadTracker even though it doesn't actually work 2026-03-03 11:05:03 +01:00
kalaposfos13
6c5c76d46b we like to watch the user Move it Move it with a Camera 2026-03-03 11:02:32 +01:00
kalaposfos13
b1bf54727e we like to Move it Move it 2026-03-03 10:45:34 +01:00
georgemoralis
54906660c7
Merge branch 'main' into user_and_settings 2026-03-03 09:13:22 +02:00
georgemoralis
14450d330f
CopyImage stencil fixes (#4095)
* stencil fixes hope it fixes driveclub

* revert image copy to the one that had driveclub worked

* reverted texture cache change

* some more fixes and reverts

* added logging for overlap again
2026-03-03 08:52:12 +02:00
kalaposfos13
d9285ae875 clang-format-19 != clang-format-21 2026-03-02 21:04:09 +01:00
kalaposfos13
d92d55923b possibly the biggest clang-format commit in shadPS4 so far 2026-03-02 20:37:10 +01:00
kalaposfos13
111f893f97 code golfing 2026-03-02 19:51:32 +01:00
Stephen Miller
1f5430e4c2
More targeted fix (#4096)
Cyberpunk's issue seems to actually come from the incrementing in the loop. It wasn't clear while debugging, but the problem is that the pattern the game supplies causes match to fail when str_wild_it hits the end, and then tries iterating past end due to the loop condition.
Our pattern matching code seems broken for the case Cyberpunk triggers, but since I'm not aware of the intricacies of how real hardware behaves, best to just revert the loop condition change and instead break the loop before the broken iteration.
2026-03-02 20:35:58 +02:00
kalaposfos13
6c81ae571f Initial logic for config migration 2026-03-02 19:34:54 +01:00
Niram7777
fc949a7449
CI wget linuxdeploy retries (#4093) 2026-03-02 20:32:28 +02:00
kalaposfos13
903af7a548 removed old config backend 2026-03-02 19:15:45 +01:00
kalaposfos13
4f323892cd me and clang are not friends 2026-03-02 18:19:15 +01:00
kalaposfos13
a1451ab0a5 Merge remote-tracking branch 'origin/main' into user_and_settings 2026-03-02 18:16:26 +01:00
kalaposfos13
60b051a74c actually make game specific configs load and fix the issue with autosave 2026-03-02 17:59:04 +01:00
georgemoralis
e5d7dc4090
the uber fix (#4092) 2026-03-01 21:02:21 +02:00
georgemoralis
636efaf2b5
changed readbacks mode to Relaxed,Precised (#4091) 2026-03-01 20:49:55 +02:00
Stephen Miller
dcb5d4dd38 Run malloc_init before initializing libs
Allows LLE libSceMoveTracker.
2026-03-01 11:20:23 -06:00
Stephen Miller
4a5a47e53c Merge remote-tracking branch 'upstream/main' into malloc_init_heap_api_lle 2026-03-01 11:06:59 -06:00
Stephen Miller
dbf23a66af
fix (#4088) 2026-03-01 07:30:19 +02:00
rainmakerv2
6a8c50c3a2
Low readbacks mode (#4085) 2026-02-28 17:17:11 +02:00
Stephen Miller
49c2a4999b
Lib.Net: Misc fixes (#4082)
* Fix Windows-specific incorrect error in PosixSocket::Connect

* Hide typical non-blocking errors

* Also hide EWOULDBLOCK from recvfrom

* Fix the resolver fix
2026-02-28 09:09:01 +02:00
Stephen Miller
aae10ecdf7
Lib.GnmDriver: Implement sceGnmDrawIndirectMulti (#4083) 2026-02-27 21:32:32 -08:00
Stephen Miller
8bb29695ed
Lib.Net: Proper resolver errors when isConnectedToNetwork is disabled (#4081)
* Force resolver errors when not connected to network

Error values are based on real hardware testing.
sceNetResolverGetError is based on libSceNet decompilation.

* Update net_resolver.h
2026-02-28 00:50:41 +02:00
evill33t
19d2027105
skipped guest/host marker parsing/calls when disabled (#4078)
* skipped guest/host marker parsing/calls when disabled

* clang-format

---------

Co-authored-by: Ronny Stiftel <ronny.stiftel@tomcom.de>
2026-02-26 17:02:14 +02:00
georgemoralis
f91b8410fd
SDL Audio3d (#4077)
* implemented dummy audio3d for sdl

* removed sdl::free
2026-02-26 15:31:50 +02:00
kalaposfos13
5970ab6ee2 Merge remote-tracking branch 'origin/main' into user_and_settings 2026-02-24 21:42:22 +01:00
kalaposfos13
dc3e0a83e0 misc fixes 2026-02-24 21:41:44 +01:00
Vladislav Mikhalin
e1ecd8e98c
threads: initialize tls on thread creation (take 2) (#4070) 2026-02-24 20:35:05 +03:00
kalaposfos13
af9cbb8e8a
Fix some logic bugs in sceHttpUriParse (#4067) 2026-02-24 09:00:17 +02:00
georgemoralis
faf9cce67e added config mode support 2026-02-23 23:19:46 +02:00
ElBread3
407d287fb1
tweak LoadFigure and RemoveFigure (#4071) 2026-02-23 21:30:57 +02:00
kalaposfos13
c265a39227 fix typo 2026-02-23 09:08:39 +01:00
Stephen Miller
6cbab87745
Kernel.Event: Implement kqueue and kevent (#4065)
* Remove dead code from EqueueInternal::WaitForEvents

No longer necessary now that we avoid using small timers when falling back on equeue logic.

* Refactor type names

Might as well

* Properly define OrbisKernelEqueue as a handle

Most of the functions using an "OrbisKernelEqueue" call directly into kevent. Therefore, OrbisKernelEqueue should be a equeue handle.

* Clang

* Widen OrbisKernelEqueue type

On real hardware, it's some value that contains the handle, as opposed to just the handle itself.

* kqueue implementation

The easy part

* Hardware-accurate timer data

Needed to make kevent simpler for these uses.

* Move callback scheduling to EqueueInternal::AddEvent

kevent would become excessively bloated if I needed to deal with that in there.

* posix_kevent

kevent is a bit of a pain, for now I've implemented as much as libkernel actually uses for it's wrappers, and left error logs to skip behavior when necessary.

* Log calls

* Apple, why are you calling fstat on an equeue?
2026-02-22 23:41:05 +02:00