Commit Graph

3709 Commits

Author SHA1 Message Date
georgemoralis
0074cf27ea improved device detection 2026-02-13 10:11:56 +02:00
georgemoralis
b55ac3bb64
Merge branch 'main' into audio3 2026-02-13 09:03:08 +02:00
Stephen Miller
1a06020f70
Core: Mount system fonts (#4028)
* Mount system fonts

Now that font LLE works, these are necessary for some titles.

* Make fonts path configurable

By user request.
2026-02-13 09:02:30 +02:00
Stephen Miller
50130a6b7c
Prevent protects during unmaps (#4029)
Some games fail in this VirtualProtectEx call because they unmapped on one thread while another thread is hitting exception handling.
2026-02-13 08:34:24 +02:00
Stephen Miller
cdafdb7443
Better handle check in scePadRead, scePadReadState (#4027) 2026-02-12 22:34:43 +02:00
georgemoralis
e18d160912 no it will not work this way 2026-02-12 17:45:57 +02:00
georgemoralis
0ddae1219d use ALC_ALL_DEVICES_SPECIFIER 2026-02-12 17:42:48 +02:00
georgemoralis
6ac4412155 added device selection 2026-02-12 17:33:07 +02:00
georgemoralis
44df27bf70
Merge branch 'main' into audio3 2026-02-12 16:21:47 +02:00
georgemoralis
b4daf37662
Submodules update (#4026)
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
* added openal-soft , cpp-httplib

* CLI11,sdl3 update
2026-02-12 16:17:40 +02:00
Stephen Miller
0435ada3a5
Update np_web_api_internal.cpp (#4025)
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
2026-02-11 23:22:38 +02:00
kalaposfos13
7bdb5eb7e1
improved motion controls emulation (#4022) 2026-02-11 18:09:34 +02:00
kalaposfos13
c2a47d2a99
Handle operand fields execlo and exechi for S_MOV (#4023)
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
Co-authored-by: TheTurtle <geoster3d@gmail.com>
2026-02-11 16:00:13 +02:00
georgemoralis
b76b2aa3d5 support for AL_EXT_FLOAT32 extension and fallbacks if not available 2026-02-11 13:54:16 +02:00
georgemoralis
976aaafd7a some corrections to audio3d 2026-02-11 13:04:51 +02:00
georgemoralis
f98e87ef71
Merge branch 'main' into audio3 2026-02-11 12:29:38 +02:00
georgemoralis
d9099bab05 added SIMD version of convertors 2026-02-11 12:29:08 +02:00
Vladislav Mikhalin
8c59571961
pad: refactoring (#4016)
* pad: refactoring

* clang is not my friend
2026-02-11 11:15:33 +02:00
georgemoralis
e72115d59f reduce spamming log 2026-02-11 08:59:49 +02:00
georgemoralis
d63ece5867 increased buffers 2026-02-11 08:51:39 +02:00
georgemoralis
28aa7c0306 smoother 2026-02-11 08:43:45 +02:00
georgemoralis
b491622c12 seems better 2026-02-11 08:34:59 +02:00
Stephen Miller
68679b24aa
Fix log errors (#4020)
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
Just a typical day of me pushing something a month ago, nobody testing/reviewing it, then finding out it's broken when that code inevitably makes it into production.
2026-02-11 08:31:23 +02:00
Stephen Miller
6a7f8a9e5a
Libs.LibcInternal: _Fofind, _Lockfilelock, _Unlockfilelock, _Foprep, _Fopen, fopen, fflush, _Nnl, _Fspos, fseek, _Frprep, fread, _Fofree, fclose, _Mtxinit, _Mtxlock, _Mtxunlock, _Mtxdst implementations (#4019)
* Initial definitions

* internal__Fofind

* Libcinternal threads

fopen stores a valid pthread mutex in the FILE struct. Since this is exposed to the game/app, we need to handle this accurately.

* internal__Foprep (and various other functions called in it)

* Actual fopen implementation

At long last, an actual function I'm supposed to implement.

* fflush + compile fixes

* fseek implementation

Comes with functions fseek calls, aside from fflush which I pushed earlier.

* fread, _Frprep

Also changed some parameter names a tad to match how I named things in my decomp.
And fixed some bugs with how I was handling the weird offseted mode thing

* fclose, _Fofree

Not confident on this one, but we'll see I guess.

* Bug fixing

No more crashes at least, fread seems to be broken though.

* fopen bugfixes

Behavior now matches LLE, at least in how LLE font seems to use it.

* Fix _Frprep

Seems like everything works now?

* Logging

Probably going to need to swap lseek and read logs to debug/trace later but this is for debugging.

* Remove alignment check

Seems I must've misinterpreted some of what Ghidra spat out, since libSceNgs2 is calling with size 1, nmemb 4.

* Reduce fseek, fread logs to trace

* Clang
2026-02-11 08:13:28 +02:00
Marcin Mikołajczyk
99661aa6b3
RE encountered NpTus functions (#4018) 2026-02-10 23:59:07 +02:00
georgemoralis
04eb689c2e improved audioout conversions 2026-02-10 21:15:30 +02:00
georgemoralis
f6e46f18df more safe format conversions 2026-02-10 19:51:29 +02:00
georgemoralis
d06491353d better conversions? 2026-02-10 18:55:33 +02:00
georgemoralis
c3750a5833 trying to fix conversions 2026-02-10 18:15:00 +02:00
georgemoralis
c689df9027 better conversion? 2026-02-10 17:52:28 +02:00
georgemoralis
6f5729d975 clang 2026-02-10 16:55:56 +02:00
georgemoralis
25182c4962 basic work for openal and audio3d 2026-02-10 16:28:48 +02:00
georgemoralis
140f73eadf fixed converters for openal 2026-02-09 23:49:10 +02:00
georgemoralis
c59c5b0781
Merge branch 'main' into audio3 2026-02-09 23:28:52 +02:00
georgemoralis
a706b325f4
optimize sdl3 audio out (#4015)
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
2026-02-09 22:59:39 +02:00
georgemoralis
b39235c6fa cleanups 2026-02-09 21:17:53 +02:00
Niram7777
ffae535a5c
[LOG] group same lines with counter (#4010)
* [LOG] group same lines with counter

* Log in single line counter

* Protect log singleton from ps4 threads

* Log always compact
2026-02-09 20:19:39 +02:00
kalaposfos13
42f2697b50
Fix deadlock from missed unlock call after #3946 (#4013)
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
* Fix deadlock from missed unlock call after #3946

* copyright 2026

* Add the same fix to PoolCommit
2026-02-09 16:40:47 +02:00
georgemoralis
0a856bc3ec initial audio out openal support , still not working properly 2026-02-09 14:54:55 +02:00
georgemoralis
14d6f6d670
Merge branch 'main' into audio3 2026-02-08 22:44:54 +02:00
georgemoralis
afc9893715
Added sceAudioOutGetSystemState (#4011)
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
2026-02-08 22:39:36 +02:00
georgemoralis
3ab2275a1d fixed backend 2026-02-08 21:31:37 +02:00
georgemoralis
6de3459598 added sceAudioOutGetSystemState 2026-02-08 21:25:02 +02:00
Stephen Miller
2a61851a88
Kernel.Process: Implement sceKernelGetModuleInfo2, sceKernelGetModuleList2 (#4001)
* twos

* Fixes

Still can't test properly, but this seems to hide system libs, which I'm pretty sure is the necessary difference here.

* Clang

* Extra export for sceKernelGetModuleInfo2
2026-02-08 20:07:17 +02:00
georgemoralis
24354c5a30
Merge branch 'main' into audio3 2026-02-08 18:28:23 +02:00
rainmakerv2
b44ad1e087
Volume hotkey: show volume value, set game_specific arg correctly, clamp value (#4009) 2026-02-08 18:15:11 +02:00
georgemoralis
b16416996e added openal libs 2026-02-08 12:37:39 +02:00
georgemoralis
ad1b69b68e
Merge branch 'main' into audio3 2026-02-08 11:43:53 +02:00
kalaposfos13
c9a9cf2e75
fix debug assert (#4006)
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
2026-02-08 11:43:15 +02:00
georgemoralis
03cccdaa7b reduce logging in audioout 2026-02-08 11:10:21 +02:00