squidbus
9bad66b24d
hotfix: Raise videodec memory back up to 16MB.
...
Found a game that needs more, still should be low enough compared to before to fix some games.
2025-01-29 01:32:12 -08:00
squidbus
a78f8afe58
libraries: Implement libSceZlib. ( #2256 )
...
* libraries: add zlib hle skeleton/stub
* libraries: Implement libSceZlib.
* zlib: Make variables static.
---------
Co-authored-by: Nenkai <Nenkai@users.noreply.github.com>
2025-01-28 18:48:19 +02:00
squidbus
8379922f8a
hotfix: Reduce requested videodec memory block sizes.
...
This really needs a more accurate implementation, but for the stub lowering the value helps games that run out of memory space if it is too large.
2025-01-28 02:33:17 -08:00
panzone91
2837d848ed
linker: handle relocation for exported modules ( #2247 )
2025-01-27 22:40:58 +02:00
squidbus
3960283a67
hotfix: Fix missing embedded PS shader address bits.
...
If the emulator code is above a 40-bit address, the embedded shaders need to use address-hi to work. Embedded VS shader already supplies it, PS shader should as well.
2025-01-26 01:02:55 -08:00
Ian Carpenter
564dbc7b94
system_service: Add simple event queue and push an EntitlementUpdate event to it when app content is initialized ( #2238 )
2025-01-25 11:00:52 +02:00
squidbus
e433f3116d
hotfix 2: clang format
2025-01-24 19:57:09 -08:00
squidbus
73b7d34460
hotfix: Drop scePadSetLightBar log to debug level.
...
Some games like to spam this a lot, and we already handle it.
2025-01-24 19:56:05 -08:00
hspir404
7072dfc99f
Fix stale heap read in UnmapMemoryImpl ( #2232 )
2025-01-24 23:56:21 +02:00
poly
b3c573f798
libraries/fiber: print fiber ctx size on stack overflow
2025-01-24 19:37:34 +01:00
georgemoralis
a4eba8e827
stubbed webbrowserdialog,npparty ( #2234 )
...
* stubbed webbrowserdialog,npparty
* added poly's suggestions
2025-01-24 19:22:06 +02:00
kalaposfos13
4f426b723f
Rebase of "Handle munmap over multiple VMAs" ( #2233 )
...
* Unmap memory in chunks if spanning over multiple VMAs
* clang
* Merge fixups
* Minor code style changes
* Update function declarations
---------
Co-authored-by: Marcin Mikołajczyk <marcinmikolajcz@gmail.com>
2025-01-24 15:30:55 +02:00
DanielSvoboda
cc2e13873f
Fix showing debug menu bar / Devtools ( #2214 )
...
* Fix showing debug menu bar / Devtools
* Fix
2025-01-22 22:21:41 -03:00
Vinicius Rangel
b3bce086b3
devtools: fix ReleaseKeyboard assert being triggered if many shader editor windows exist ( #2205 )
2025-01-22 12:08:49 -03:00
Stephen Miller
2968cf5a99
sceKernelVirtualQuery Fixes ( #2204 )
2025-01-22 16:06:27 +01:00
f3d209
adbff4056f
Added ability to change save data path ( #2199 )
...
* added ability to change save data path
* get default save data path from fs
* add copyright
* formatting
2025-01-22 12:10:35 +02:00
Stephen Miller
78ae9613c5
Fix for address_space initialization on Windows ( #2202 )
...
Should fix some `Region coalescing failed: Attempt to access invalid address.` crashes.
Co-authored-by: TheTurtle <47210458+raphaelthegreat@users.noreply.github.com>
2025-01-22 12:07:43 +02:00
polyproxy
5c62a00134
clang-format
(again)
2025-01-21 21:14:05 +01:00
polyproxy
41b3942833
clang-format
2025-01-21 19:34:05 +01:00
polyproxy
84a341dce5
remove BADF return
2025-01-21 19:30:34 +01:00
polyproxy
3563b88d8c
hotfix: use logger device on stdin
2025-01-21 19:28:39 +01:00
Stephen Miller
4fa501c8d5
Additional libSceNpManager functions and cleanup ( #2195 )
...
* Error return on sceNpGetAccountIdA
Confirmed through hardware testing, this returns ORBIS_NP_ERROR_SIGNED_OUT on a signed out console.
Parameters are based on fpPS4 code.
* Fix compile
* Move errors to separate file
* Cleanup function headers
Swaps user_ids to use our OrbisUserServiceUserId type, and fixes parameter names to align with our coding standards.
* Add proper parameter checks
* Implement sceNpGetAccountId
This function takes an online_id, uses an NpManager function to get the user_id, then uses that user_id to perform the same internal functions as sceNpGetAccountIdA.
* Implement sceNpHasSignedUp
* Fix sceNpGetAccountId
Further hardware testing shows that these always write 0 to account_id when failing.
* Update np_manager.cpp
2025-01-19 19:12:42 -08:00
DanielSvoboda
c8bbecda26
Devtools: Close Button ( X ) ( #2187 )
2025-01-19 17:45:24 +02:00
georgemoralis
a7d45231b7
Filesystem devices ( #2184 )
...
* added dummy devices
* More WIP
* added urandom,srandom,random,console,deci_tty6 devices
* small fix
* macOS fix
2025-01-19 10:44:57 -03:00
¥IGA
388548ba47
pad: Configurable DeadZone ( #2030 )
2025-01-18 16:02:02 +03:00
kalaposfos13
3b92cd1c1a
CLI: Add argument to pass an argument to the game ( #2135 )
2025-01-18 15:21:08 +03:00
Quang Ngô
90b04e8cc0
input: Don't use old input state in GameController::ReadState() ( #2170 )
2025-01-18 09:59:38 +03:00
Ian Maclachlan
a5440e0e43
Update kernel.cpp ( #2125 )
...
In kernel.cpp boost io_context.reset() deprecated/discontinued in latest versions. Changed to io_context.restart() as recommended.
2025-01-17 22:16:07 -08:00
Vinicius Rangel
8695383d35
keep framerate stable even without vsync ( #2165 )
2025-01-16 21:10:17 -03:00
Vinicius Rangel
56a6c95730
Render without rendering ( #2152 )
...
* presenter: render the game inside a ImGui window
* presenter: render the previous frame to keep the render rendering
* swapchain: fix swapchain image view format not being converted to unorm
* devtools: fix frame graph timing
2025-01-16 21:27:23 +02:00
Stephen Miller
440a693fae
Crash on sceKernelDebugRaiseExceptionOnReleaseMode ( #2163 )
2025-01-16 18:22:39 +01:00
georgemoralis
4695aaa830
sceKernelAio* implementation ( #2160 )
...
* draft Aio from https://github.com/GoldHEN/GoldHEN_Plugins_Repository
* cleanup and fixes to Aio
2025-01-16 18:27:52 +02:00
squidbus
34a5f2319c
network: Remove firing Np callbacks from check stubs. ( #2161 )
2025-01-16 13:17:07 +02:00
Stephen Miller
5a7d45fdfa
Missing pthread exports ( #2144 )
2025-01-15 18:37:20 +03:00
Stephen Miller
c10f9b8269
Add libSceNpWebApi ( #2150 )
...
Includes a dummy return for sceNpWebApiInitialize, to make it return a positive value.
2025-01-15 13:19:41 +02:00
squidbus
5040be1640
renderer_vulkan: Handle depth-stencil copies through depth render overrides. ( #2134 )
2025-01-15 08:48:40 +03:00
Stephen Miller
c6ab149c56
libSceHttp2 Stubs ( #2139 )
...
* Auto-generate libSceHttp2
* Improved stub for sceHttp2Init
Needed for updated versions of Cyberpunk 2077.
Parameters are based on fpPS4, while the stub itself is based on similar stubs in our other networking libraries.
* Clang
I guess the line length calculations in the moduleGenerator are still not perfect?
2025-01-12 22:27:54 +02:00
Stephen Miller
8a309c30a9
Check thread param on posix_pthread_rename_np ( #2133 )
2025-01-12 11:24:49 +02:00
Stephen Miller
466e071c97
Add libSceSsl2 stubs ( #2132 )
...
* Auto-generate libSceSsl2 stubs
* Copy over sceSslInit stub
* Update CMakeLists.txt
* Swap to Lib_Ssl2 log category
* Fix compile
Since libSceSsl has many functions of the same name, these functions get treated as overloaded functions and break compiling.
* Clang
2025-01-12 11:24:12 +02:00
Stephen Miller
62bbad62fc
Implement sceNpCmp functions ( #2114 )
2025-01-11 17:58:07 +01:00
Stephen Miller
fc50567fc2
Unmap Fixes ( #2080 )
...
* Fix unmapping reserved memory
* Fix bug with unmapping before reserve
* Clang
* Ignore free memory pages
* Handle pooled memory
2025-01-08 14:08:54 +02:00
squidbus
8f5bcb0f1c
file_sys: Consolidate separate update directory handling. ( #2041 )
2025-01-08 13:23:40 +02:00
squidbus
af8c748e9c
elf_info: Fix GCC build. ( #2089 )
2025-01-07 17:37:08 +02:00
georgemoralis
121328eced
dummy sceMouse module and change sceMouseRead to debug to reduce spam ( #2074 )
2025-01-06 18:45:53 +02:00
Stephen Miller
e5f638b378
fix scePlayGoGetLocus ( #2067 )
...
Due to an issue with the if statement, scePlayGoGetLocus outputs an extra locus compared to real hardware.
2025-01-06 00:46:26 +02:00
psucien
7459d9c333
hot-fix: amdgpu: use different indirect dispatch packet on ASC
2025-01-04 22:23:12 +01:00
squidbus
f42b8acf47
sdl_audio: Remove buffer samples hint. ( #2038 )
2025-01-04 14:33:07 +02:00
psucien
ddc658f8c8
clang-format
2025-01-04 00:32:17 +01:00
squidbus
7153bc8d8f
kernel: Check PSF for neo mode support. ( #2028 )
2025-01-04 00:29:09 +01:00
squidbus
9434cae458
gnmdriver: Implement neo mode differences. ( #2011 )
...
* gnmdriver: Implement neo mode differences.
* gnmdriver: Move init sequences to separate file.
2025-01-03 21:22:27 +01:00