Commit graph

11415 commits

Author SHA1 Message Date
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
Lubos
cc3981a328 OpenXR - 72Hz support added 2022-08-05 15:14:21 +02:00
Lubos
5f377f82eb Merge branch 'master' into feature_openxr_6dof 2022-08-05 13:49:42 +02: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
Lubos
e6b14cb473 OpenXR - 6DoF head movement support added 2022-07-31 20:05:08 +02:00
Lubos
d129870d44 Merge branch 'master' into feature_openxr_6dof 2022-07-31 16:37:54 +02: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
Lubos
d29b9011db OpenXR - VR settings added, better UI detection 2022-07-27 19:47:11 +02: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
Unknown W. Brackets
c2a1caa2a2 irjit: Prevent corruption on purge temps pass.
If a switch occurs and then something clobbers the dest of that switch, we
were wiping out the first of those three instructions incorrectly.
2022-07-21 09:06:37 -07:00
Henrik Rydgård
3dd2bd0589
Merge pull request #15697 from unknownbrackets/debugger
Update embedded web debugger
2022-07-17 10:26:10 +02:00
Henrik Rydgård
3638f2ec0b
Merge pull request #15698 from unknownbrackets/osk-less-strict
Osk: Allow upper/lower for all keyboards
2022-07-17 10:19:28 +02:00
Unknown W. Brackets
3ccbb51e43 Osk: Allow upper/lower for all keyboards.
In previous tests, this seemed to be limited, but now I can't reproduce.
Instead, let's just use it as the hint for the default case.
See #15010.
2022-07-16 17:47:31 -07:00
Unknown W. Brackets
96b86907c2 Debugger: Fix SVG content-type for proper display. 2022-07-16 09:43:12 -07:00
Henrik Rydgård
b233c2c9af
Merge pull request #15691 from hrydgard/clone-wars-compat
Add a simple compat flag to workaround the Clone Wars issue, #12949
2022-07-15 13:08:41 +02:00
Henrik Rydgård
67b1a42b95
Merge pull request #15678 from unknownbrackets/clean-recent-thread
Clean recent ISOs on a thread
2022-07-15 11:50:45 +02:00
Henrik Rydgård
15f5ed81a7 Add a simple compat flag to workaround the Clone Wars issue, #12949
Could probably also be fixed by changing the heuristic a bit, but since
we're in heuristic land anyway and close to a release, I feel this is
the safest option.

Also sneaks in a logspam reduction
2022-07-15 11:44:51 +02:00
LunaMoo
4b959c6b54 Add Zettai Zetsumei Toshi 3 bypass for softlock on character select screen 2022-07-14 23:17:32 +02:00
Unknown W. Brackets
e9891e0843 Config: Keep recentIsos lock owned by Config. 2022-07-12 17:12:25 -07:00
Lubos
d109e7c1d7 Merge branch 'master' into feature_openxr_quest 2022-07-12 18:54:47 +02:00
Henrik Rydgård
f06430aa25
Merge pull request #15677 from unknownbrackets/iso-truncated
Show message if files are outside valid ISO
2022-07-12 09:12:14 +02:00