Commit graph

11277 commits

Author SHA1 Message Date
Henrik Rydgård
89c96142a1 Really not sure how we can detect whether a depth deswizzle is needed :( Hopefully temporary flag... 2022-08-21 09:58:58 +02:00
Henrik Rydgård
70b9dcc9a3 Initialize a bunch of Dialog structs 2022-08-18 16:46:22 +02:00
fp64
5b6a14edeb Add a newline to "Leaving main" message.
Also implement SYSPROP_DISPLAY_XRES/SYSPROP_DISPLAY_YRES for SDL.
Also fix couple of warnings.
2022-08-16 18:29:14 -04:00
Unknown W. Brackets
6fad5463d0 GE Debugger: Save tab configuration. 2022-08-14 11:42:04 -07:00
Henrik Rydgård
f8325631bc
Merge pull request #15838 from sum2012/Atrac_hack
Add atrac looping hack for 4 games
2022-08-14 10:37:36 +02:00
sum2012
e373c9063c Use compat.ini instead 2022-08-14 14:54:06 +08:00
sum2012
965daea455 Add atrac hack setting 2022-08-14 09:51:49 +08:00
Unknown W. Brackets
bdb4107014 Net: Cleanup initialization syntax. 2022-08-13 12:43:14 -07:00
Unknown W. Brackets
ca4a0a848a Font: Fix bad memory read on invalid font data. 2022-08-13 12:16:21 -07:00
Unknown W. Brackets
f16d6c6011 Font: Correct uninitialized values. 2022-08-13 08:10:46 -07:00
Unknown W. Brackets
75a85d4035 Atrac: Avoid accessing uninitialized stream status.
Only mess with this in a stream mode.
2022-08-13 08:09:16 -07:00
Unknown W. Brackets
8b3526b8c2 Atrac: Avoid an uninitialized value. 2022-08-13 00:16:08 -07:00
Unknown W. Brackets
9bda04a0d2 Core: Correct shutdown on late init failure.
Otherwise we leak and can't start again.  This happened when shutdown
completed quickly after thread start.
2022-08-12 22:30:15 -07:00
Unknown W. Brackets
5246d901ce Headless: Cleanup unused/leak warnings. 2022-08-07 12:10:17 -07:00
Unknown W. Brackets
71d66ae1ec Dialog: Add missing header for MSVC 2017. 2022-08-06 21:13:39 -07:00
Unknown W. Brackets
20c2ec1392 GPU: Skip alpha stencil upload when safe.
Otherwise, let's not do things that give different behavior at 1x or are
inconsistent.
2022-08-06 21:12:59 -07:00
Henrik Rydgård
5f230ee998 Fix some compiler warnings 2022-08-06 18:19:27 +02:00
ANR2ME
0b3fdf0cef Use safe_string when printing %s with Memory::GetCharPointer. 2022-08-06 11:22:38 +07:00
ANR2ME
3b7a33ddd8 Prefer using "%04x" over "%04hx". 2022-08-06 11:04:07 +07:00
ANR2ME
48deb37cc8 Fix logging warning issue. 2022-08-06 03:11:59 +07:00
ANR2ME
4c9e1dec1a Fix include issue. 2022-08-04 16:35:30 +07:00
ANR2ME
31ea7a6a95 Updated copyright's year. 2022-08-04 16:34:05 +07:00
ANR2ME
865959d420 Replace the dummy PSN name with Nickname on sceNpInit. 2022-08-04 16:12:31 +07:00
ANR2ME
41de63f13c Moving sceNpMatching2-stuff to sceNp2.cpp/h.
PS: Register_sceNpMatching2 not being added to HLETables because currently the callback didn't work properly yet and could crash the game.
2022-08-04 16:12:29 +07:00
ANR2ME
dcf3ece8f4 Implement NP Signin Dialog (faked signin) 2022-08-04 16:12:25 +07:00
ANR2ME
54300eb017 Updated NP Library
PS: Some of registered modules should probably moved to a separate files (ie. sceNp2.cpp).
2022-08-04 16:12:23 +07:00
ANR2ME
bf98466a78 Added a FunctionWrapper used by sceNpService 2022-08-04 16:12:23 +07:00
Henrik Rydgård
392d83fb22
Merge pull request #15659 from lvonasek/feature_openxr_quest
Oculus Quest native support
2022-07-31 16:34:45 +02:00
Henrik Rydgård
8260b4667d
Merge pull request #15700 from hrydgard/better-depth-tracking
Track depth buffers separately from framebuffers to track previous use for copies
2022-07-31 10:59:09 +02:00
Henrik Rydgård
7f0f119cfe Check for color/Z clashes 2022-07-31 10:44:06 +02:00
Unknown W. Brackets
1233d1d376 Reporting: Disable when debugger methods used.
This won't catch all means of hacking memory, but will catch some.
Trying to reduce noise in reporting from debugging.
2022-07-30 18:21:32 -07:00
Henrik Rydgård
d0d53091a8 Change from maxLevel to levelsToLoad, for better readability. Cleanup. 2022-07-30 10:45:02 +02:00
Henrik Rydgård
c41b780c8c Remove the ReplacedTextureFormat enum 2022-07-30 08:52:24 +02:00
Henrik Rydgård
ef4a6cf873 Remove support for 16-bit replacement texture formats 2022-07-30 08:52:24 +02:00
Henrik Rydgård
5efb04c31e
Merge pull request #15739 from unknownbrackets/ir-simplify
irjit: Correct another PurgeTemps case
2022-07-28 09:05:18 +02:00
Unknown W. Brackets
3e0b324e58 Replacement: Cleanup leak on replacement reload.
If it was previously lazy-loaded and purged, we might leak a waitable.
2022-07-27 20:29:24 -07:00
Unknown W. Brackets
acc248164f Replacement: Clear cache on disable.
When lazy loading, let's clear cached replacement data on disable.
This is purges memory immediately, and also allows force-reloading
textures by toggling the setting.
2022-07-27 20:27:56 -07:00
Unknown W. Brackets
7b081a61c8 irjit: Correct another PurgeTemps case.
In this case:
  Mov A, B
  AndConst A, A, 1
  Load32 C, A, 0

Was still swapping the Load32 to B, not just the AndConst.

Fixes #15735.
2022-07-27 19:38:16 -07:00
Unknown W. Brackets
5abf1362a2 irjit: Clarify PurgeTemps, guard a couple ops.
Although I think we skip simplify passes on breakpoints entirely, safer to
exclude these ops.
2022-07-27 19:36:53 -07:00
Henrik Rydgård
fc70d21d04
Merge pull request #15731 from unknownbrackets/reporting-crash
Reporting: Avoid crash if socket connect fails
2022-07-27 07:43:30 +02:00
Unknown W. Brackets
185faec47a Reporting: Avoid crash if socket connect fails. 2022-07-26 18:51:27 -07:00
Henrik Rydgård
18f828d74b Some zero init, add a null check in TextureReplacer. See #15730 2022-07-26 23:48:39 +02:00
Lubos
c543c8fd52 Merge branch 'master' into feature_openxr_quest 2022-07-26 17:22:04 +02:00
Unknown W. Brackets
2154f747fc irjit: Simplify more arithmetic to Movs.
Later passes rely on things being Mov, so better to have them more often.
2022-07-24 11:35:54 -07:00
Unknown W. Brackets
8f23025209 irjit: Add tests for IR passes. 2022-07-24 11:35:54 -07:00
Unknown W. Brackets
b02fa4ec00
Merge pull request #15718 from hrydgard/getpointer-const-cleanup
Split GetPointer into GetPointer and GetPointerWrite
2022-07-24 07:51:39 -07:00
Lubos
8f2904ecac OpenXR - Default device config added 2022-07-24 15:38:30 +02:00
Henrik Rydgård
881cc23965 Delete some unused code. 2022-07-24 13:54:04 +02:00
Henrik Rydgård
861d66a4d4 Separate logging for GetPointer/GetPointerWrite 2022-07-24 13:39:37 +02:00
Henrik Rydgård
e6403d7157 Split GetPointer into two versions, to help with const correctness 2022-07-24 13:26:19 +02:00