Commit graph

13661 commits

Author SHA1 Message Date
Henrik Rydgård
8d6593b92b Remove compat flag AllowDelayedReadback 2025-01-05 09:18:13 +01:00
Henrik Rydgård
56dd10f283 Fix savestates 2025-01-05 00:00:06 +01:00
Nemoumbra
aae7b187d5 Hadouken fixes: SendData funcs + sceNetAdhocMatchingGetPoolStat 2025-01-05 01:07:10 +03:00
Nemoumbra
94f4ad200b Hadooken fixes: sceNetAdhocMatchingSelectTarget, NetAdhocMatching_CancelTargetWithOpt 2025-01-05 00:46:42 +03:00
Nemoumbra
3497ccacb5 Hadooken codestyle fix + cleaned up NetAdhocMatching_Start 2025-01-05 00:08:20 +03:00
Nemoumbra
f7289ff22a Simplified 2 more matching funcs 2025-01-04 23:52:31 +03:00
Nemoumbra
4f623db57a Added early returns for actOn{X}Packet funcs 2025-01-04 23:42:39 +03:00
Henrik Rydgård
5a328a8381
Merge pull request #19807 from hrydgard/infra-master
Rebased WIP: Infrastructure: sceNetInet and sceNetResolver support
2025-01-04 21:20:19 +01:00
Henrik Rydgård
df63e19464 Warning fixes, Windows compat hacks 2025-01-04 20:04:39 +01:00
Henrik Rydgård
f4ee69f7be Buildfixes 2025-01-04 20:04:35 +01:00
Nemoumbra
110799f09d Cleaned up broadcastHelloMessage and broadcastPingMessage 2025-01-04 21:08:31 +03:00
Nemoumbra
9f94e035a7 Added early returns for send{X}Packet funcs 2025-01-04 20:29:39 +03:00
White Blood Cell
727203e88f Move flags and other constants from InetSocket onto SceNetInet. 2025-01-04 18:03:44 +01:00
White Blood Cell
4bc79481da Translate all input parameters to socket(). 2025-01-04 18:03:44 +01:00
White Blood Cell
87de5b6385 Add header to sceNetInet and audit hleLogError calls for SetLastError. 2025-01-04 17:56:58 +01:00
Nemoumbra
9f4f0a4e6a Brace codestyle fix 2025-01-04 19:55:50 +03:00
White Blood Cell
dfd4b996bf Implement sceNetInetGetpeername and sceNetInetGetsockname as per anr2mes impl and begin converting ERROR_LOGS into hleLogError + ensuring last error is set. 2025-01-04 17:55:18 +01:00
White Blood Cell
ee0b0fce6c sceNetInet and sceNetResolver support.
Co-authored-by: AdamN <anr2000@gmail.com>
2025-01-04 17:28:36 +01:00
Henrik Rydgård
abbea9ac05 Restore cache invalidation in CwCheats code 2025-01-04 17:18:23 +01:00
Henrik Rydgård
a0f3963d76
Merge pull request #19797 from Nemoumbra/net-adhoc-split
Split out Adhoc matching from the main sceNetAdhoc file.
2025-01-04 15:27:48 +01:00
Henrik Rydgård
80b09aa478 Remove unnecessary c_str(), minor cleanup 2025-01-04 13:15:55 +01:00
Henrik Rydgård
af4eb0d053 Osk: Finish moving out the weird strings to PSPOskConstants.cpp 2025-01-04 12:11:12 +01:00
Henrik Rydgård
1b73f68a44 Make PSPOskConstants.cpp not binary anymore 2025-01-04 11:35:54 +01:00
Henrik Rydgård
d04074a542 Atrac3 (not +): Keep decoding even on broken frames.
Fixes some music in some unofficial game mods, whose music got broken
in 1.18. Was reported through e-mail by Miguel.
2025-01-04 01:11:26 +01:00
Nemoumbra
60e502c259 Restored the order of HLE module registration 2025-01-03 23:33:09 +03:00
Henrik Rydgård
083543cc14 Unrelated logging improvement 2025-01-03 21:14:22 +01:00
Henrik Rydgård
74817c779d CwCheat: Don't double-check already checked memory pointers 2025-01-03 21:08:26 +01:00
Henrik Rydgård
b6fde72f52 CwCheat: Avoid instruction cache invalidations on reads. Not needed. 2025-01-03 21:08:23 +01:00
Henrik Rydgård
01acd59357 CwCheats: Avoid logspam with some bad cheats. Tag cheat structs with names (sometimes useful for debugging). 2025-01-03 20:55:26 +01:00
Henrik Rydgård
e5d28975fa Fix playback of mono Atrac3+ tracks in videos
This is rare, but does occur: #19782

I missed that setChannels could happen late in my refactor (#19033)
2025-01-03 17:28:29 +01:00
Nemoumbra
96f9749e2e Split out the matching code from sceNetAdhoc.cpp 2025-01-03 04:59:26 +03:00
Henrik Rydgård
770538dd46 SavedataParam: Sanity check, read from the correct list when logging files.
See #19795
2025-01-03 00:49:08 +01:00
Henrik Rydgård
6cae2df12d UWP buildfix 2025-01-02 19:52:51 +01:00
Henrik Rydgård
55aef2afdb Check file systems for case sensitivity. Avoid running un-needed workarounds. 2025-01-02 18:50:55 +01:00
Henrik Rydgård
92e7a28d98 Fix two edge cases in path mapping on scoped storage.
Fixes #19788
2025-01-02 17:41:52 +01:00
Nemoumbra
b265b3b994 Added empty sceNetAdhocMatching files 2025-01-02 16:03:37 +03:00
Henrik Rydgård
206d4d1fea Implement the low-quality depth raster mode, default to it on Android/iOS.
I really can't tell much of a difference in practice...
2024-12-31 11:19:38 +01:00
Henrik Rydgård
bb2b214d5e Minor FS logging 2024-12-29 09:31:50 +01:00
Henrik Rydgård
8c069917b5
Depth raster optimizations: Merge viewport into projection matrix, prepare for further SIMD-ification (#19769)
* Remove some old redundant reports

* Fix scissor off by one

* More CrossSIMD

* Move the viewport scale out to the proj matrix

* DepthRaster: Also merge the viewport translation into the projection matrix.

* Depth raster: Do the triangle clipping in batches of 4 triangles

* Cleanup
2024-12-28 10:36:39 +01:00
Nemoumbra
1a1f779ce7 Added memory tags for volatile memory 2024-12-23 21:22:55 +03:00
Henrik Rydgård
03f09aebd7 Enable software depth raster for Wipeout, Midnight Club LA, Resistance.
Adds a setting to control it under speedhacks, named "Lens flare
occlusion". The setting includes a low quality mode which is not yet
implemented.
2024-12-22 10:48:46 +01:00
Henrik Rydgård
c5ad81e3d5 Add DepthRaster.cpp/h. Rasterize depth rectangles, some triangles 2024-12-21 14:27:53 +01:00
Henrik Rydgård
d5bfc1b5eb Finish up this cleanup (move _M_SSE compat define out of Common.h) 2024-12-19 16:23:20 +01:00
Henrik Rydgård
e93c80db4e Cleaning up our SIMD header includes, using the new header 2024-12-19 16:08:48 +01:00
Henrik Rydgård
5326d87f9c Rename CrossSIMD to SIMDHeader, but also keep CrossSIMD.h (will have a future use) 2024-12-19 15:15:43 +01:00
Henrik Rydgård
c91169e702 Restore removed <algorithm> includes.
Turns out these were needed after all. For some reason, on Windows and
Mac, <algorithm> gets auto-included by something else so I don't notice
when it's missing, and MSVC's include dependency tracker doesn't see it
either.
2024-12-19 09:53:07 +01:00
Henrik Rydgård
4dd3621fa0 Remove some unnecessary <algorithm> includes. 2024-12-18 17:04:27 +01:00
Henrik Rydgård
45cf6d423e Buildfixes 2024-12-18 13:57:29 +01:00
Henrik Rydgård
3e198c53b2 More include cleanup 2024-12-18 13:57:26 +01:00
Henrik Rydgård
df6ed8cfc9 Do some cleanup of #includes in GPU 2024-12-18 13:57:26 +01:00