Commit Graph

11574 Commits

Author SHA1 Message Date
Henrik Rydgård
d6bd08cae7
Merge pull request #16162 from unknownbrackets/geo-shader
Implement negative Z clipping in geometry shader
2022-10-06 01:00:41 +02:00
sum2012
776e72715f Forget remove the include 2022-10-05 20:52:47 +08:00
sum2012
de6d747cf0 Store crc change to u32
Should build fixed
2022-10-05 20:36:01 +08:00
Unknown W. Brackets
c735d10021 Reporting: Always report hleReportDebug.
Even if debug logging is not enabled.
2022-10-04 23:48:57 -07:00
Unknown W. Brackets
c33ff58980 Reporting: Avoid accessing ticks before start. 2022-10-04 23:46:25 -07:00
Unknown W. Brackets
f24edbe8a8 Compat: Remove DisableRangeCulling.
This hack was used because culling previously incorrectly handled Z, which
was fixed in #14833.
2022-10-04 22:19:40 -07:00
sum2012
af93a7185b Add crc record to psmfplayer 2022-10-04 09:50:33 +08:00
sum2012
bbe9c41098 Add crc record into mpeg module 2022-10-04 09:21:11 +08:00
sum2012
95e6eaa601 Add crc calculation in loading module 2022-10-04 08:29:23 +08:00
Henrik Rydgård
360eab3211
Merge pull request #16106 from sum2012/mpeg-patch
Trying to improve sceMpegAvcDecodeYCbCr
2022-10-03 14:19:14 +02:00
Henrik Rydgård
ed3cd1dc26
Merge pull request #16150 from unknownbrackets/vram-mirrors
GPU: Mask away unused bits in framebuf/zbuf ptr, cleanup
2022-10-03 11:56:24 +02:00
Herman Semenov
29b87e0c0b
Merge branch 'master' into master 2022-10-03 07:49:13 +00:00
Unknown W. Brackets
09f0c0c8fd Fixed syntax accessing method reviewed by Unknown W. Brackets <checkins@unknownbrackets.org>
Signed-off-by: lainon <GermanAizek@yandex.ru>
2022-10-03 10:47:55 +03:00
Unknown W. Brackets
58a4376998 GPU: Normalize framebuf addresses.
In VRAM, always store without mirror.  In RAM, always store without
cache/kernel bits.
2022-10-02 21:28:53 -07:00
Unknown W. Brackets
2832edcc37 Vulkan: Allow configuring geometry shaders on/off. 2022-10-02 07:42:22 -07:00
Henrik Rydgård
10b2263673
Merge pull request #16143 from unknownbrackets/edram-trans
Report, save, and frame dump the Edram translation value
2022-10-02 09:25:45 +02:00
Henrik Rydgård
19f4ffef60
Merge pull request #16141 from unknownbrackets/debugger
Debugger: Fix game.reset by adding a reboot status
2022-10-02 09:13:47 +02:00
Unknown W. Brackets
24999e792a Ge: Report and save Edram translation value.
See #16126 for some details on its usage and effects.
2022-10-01 23:18:42 -07:00
Unknown W. Brackets
753ac95307 Debugger: Fix game.reset by adding a reboot status.
We don't want EmuScreen to auto-exit, and we don't want to double-lock the
debugger lifecycle lock.  Let's just handle reboot specifically.
2022-10-01 18:13:22 -07:00
Unknown W. Brackets
a268b9d1c9 Build: Ignore no symbols link warning.
This is just because we ifdef some files out for certain platforms.
2022-10-01 17:14:12 -07:00
Unknown W. Brackets
2b884de585 armips: Use native std::filesystem on Windows/UWP. 2022-10-01 08:13:57 -07:00
Unknown W. Brackets
559fdd167f armips: Also update UWP and ARM64, etc. 2022-09-30 20:16:34 -07:00
Unknown W. Brackets
ac335ad61a armips: Update to UTF-8/c++17 armips. 2022-09-30 19:48:14 -07:00
Unknown W. Brackets
8b7ccfeca5 Core: Remove disallowed register. 2022-09-30 19:48:14 -07:00
Unknown W. Brackets
c49b91c62b armips: Update to latest. 2022-09-30 17:47:43 -07:00
lainon
3cdf72b68b Better readability and optimization insertion into container by replacing 'insert' -> 'emplace', 'push_back' -> 'emplace_back' 2022-09-30 12:35:28 +03:00
lainon
c953bf7fc7 Fixed bug and memleaks 2022-09-30 12:32:49 +03:00
lainon
b304551747 Code readability, vec reserve() and remove excess c_str() 2022-09-30 12:31:32 +03:00
lainon
fec708489a Correct cleaning string and remove unused vars 2022-09-30 12:26:30 +03:00
Henrik Rydgård
d31f129407 Add hidden ini file setting that you can use to hide the menu bar.
Windows-only. Useful together with some video recording software.

Might make some actual UI later.
2022-09-29 18:51:21 +02:00
Henrik Rydgård
30c7b45ac8
Merge pull request #16123 from unknownbrackets/gpu-matrix
softgpu: Correct matrix value update wrapping
2022-09-28 09:39:27 +02:00
Unknown W. Brackets
6b20c0318d softgpu: Correct matrix value update wrapping.
The values read back when saving a context or getting matrix data are set
differently than the actual values used for rendering.

This implements the wrapping and bleeding between matrices within softgpu,
but leaves hardware rendering to only use the rendering registers for
speed.
2022-09-27 22:29:55 -07:00
Unknown W. Brackets
95d2083f04 Ge: Move matrix reading into GPU.
Let's keep managing its state / registers internal.
2022-09-27 22:23:02 -07:00
Unknown W. Brackets
3b0c0f2916 Debugger: Add API to scan memory for funcs.
For example, when you know a range is being used or when you've deleted
the functions.
2022-09-27 19:14:32 -07:00
Unknown W. Brackets
b60217d962 Debugger: Fix doc typo for disasm/assemble names. 2022-09-27 19:02:33 -07:00
sum2012
117ce25de0 Forget remove unused include 2022-09-27 21:08:56 +08:00
sum2012
f37d0622e2 Change to mpegLibVersion 2022-09-27 21:07:02 +08:00
Henrik Rydgård
1c0d66aef7 Add compatibility flag for loading pixels on framebuffer create using nearest filtering
Solves the last problem with the speedometers - so we can finally say: Fixes #8509

Render-to-CLUT for speedometers renders on top of an image that just comes from the
underlying memory, so it's been drawn to the framebuffer with DrawPixels. That adds
filtering so at higher resolutions, there's some blurring of the CLUT, causing
artifacts.  We can solve this two ways: either we force on lower-resolution-for-effects
for Ridge Racer games, or we use nearest filtering when doing DrawPixels of the
memory under a framebuffer. For best result, we do the latter.

(The speedometers look even better with nearest filtering, but that's a more
general issue of UI looking better that way).
2022-09-26 20:47:55 +02:00
Unknown W. Brackets
4e31a469f0 Mpeg: Correct Au update size. 2022-09-26 07:40:17 -07:00
sum2012
282505c70f Trying to improve sceMpegAvcDecodeYCbCr
Fix #11060
2022-09-25 23:00:03 +08:00
Unknown W. Brackets
3cc628beb4 GE Debugger: Copy images optionally with alpha.
Although, lots of apps don't support this.
2022-09-24 11:43:52 -07:00
Henrik Rydgård
c3b4caa30b
Merge pull request #15984 from lvonasek/compat_openxr_gta
OpenXR - Sky fix for GTA games
2022-09-24 17:16:28 +02:00
Unknown W. Brackets
cc447aa868 HLE: Fix bad logging without latestSyscall. 2022-09-23 18:47:51 -07:00
ANR2ME
e9cb37993f Fix assertion issue when playing Cars over public adhoc server. 2022-09-23 20:12:16 +07:00
Lubos
adffbb2ea7 Merge branch 'master' into compat_openxr_gta 2022-09-23 14:16:58 +02:00
Henrik Rydgård
ac7ca963db Make valgrind happy 2022-09-23 12:24:43 +02:00
Henrik Rydgård
0ab5d4be7f Use Unknown's idea from #16081 instead of the UploadDepthForCLUTTexture compat.ini flag. 2022-09-22 20:00:35 +02:00
Unknown W. Brackets
79c5c93d35 Kernel: Match index lookup behavior for tls.
It might be the uids it returns always follow this format.
This makes the test almost pass, outside psplink using more memory (test
should be adjusted to compensate.)
2022-09-20 19:25:32 -07:00
Lubos
c4dbd6d045 Merge branch 'master' into compat_openxr_gta 2022-09-20 21:46:33 +02:00
Unknown W. Brackets
d665b2b6ca Kernel: Disallow partitions 8/10 to match tests.
I think these might be accessible only in kernel mode.
2022-09-20 10:46:43 -07:00
Unknown W. Brackets
251cc73afd Kernel: Allow volatile for MsgPipe buffers. 2022-09-20 09:20:05 -07:00
Unknown W. Brackets
56f2d7cdac Kernel: Allow volatile for Tlspl objects. 2022-09-20 09:05:39 -07:00
Unknown W. Brackets
3c80bd94a2 Kernel: Allow kernel/volatile VPLs as well. 2022-09-20 08:57:24 -07:00
Unknown W. Brackets
fca9b77bd2 Kernel: Allow allocating FPLs in volatile memory. 2022-09-20 08:32:01 -07:00
Unknown W. Brackets
ef5eecce56 Kernel: Load volatile memblocks from save states.
Otherwise they'd reset to userMemory.
2022-09-20 00:37:21 -07:00
Unknown W. Brackets
8772c6e2f8 Kernel: Check sceKernelAllocPartitionMemory args.
This is the order you get error codes back in if there are multiple
errors.
2022-09-20 00:31:01 -07:00
Unknown W. Brackets
7580844ea5 Kernel: Fix save states for volatile memory alloc. 2022-09-20 00:07:38 -07:00
Crow-bar
789983ebad HLE: sceKernelAllocPartitionMemory volatile memory support (partition 5) 2022-09-19 15:26:45 +03:00
Unknown W. Brackets
f0afc97247 Gamedata: Cleanup install request args/validate. 2022-09-18 20:39:13 -07:00
Henrik Rydgård
242efba6f7 Remove splitSubmit setting. Now we submit init commands before the acquire. 2022-09-17 01:07:30 +02:00
sum2012
976b502c82 Increase log level of ppsspp version
Default log level is Error so that cannot see it,
2022-09-16 21:05:55 +08:00
Luboš Vonásek
861af63be9
Merge branch 'hrydgard:master' into compat_openxr_gta 2022-09-16 10:20:11 +02:00
Henrik Rydgård
a52e62a187 Enable depth uploads on render-to-clut-buffer. Esoteric but needed for #11100. Compat flag for now. 2022-09-14 22:18:34 +02:00
Lubos
e4f44e680d OpenXR - Move skyplane compat flag into compatvr.ini 2022-09-13 21:16:03 +02:00
Lubos
e406dc4730 Merge branch 'master' into compat_openxr_gta 2022-09-13 21:01:55 +02:00
Unknown W. Brackets
ce80900b75 Savedata: Return errors more correctly on load.
If the buffer isn't large enough, return an error.  See #14687, thanks
sum2012 and gid15.
For many error cases, ensure SFO data and bind are not updated on failure,
and that dataSize is forced to zero on data errors.
2022-09-13 00:10:27 -07:00
Lubos
b695c1ffb3 Merge branch 'master' into compat_openxr_gta 2022-09-12 23:04:31 +02:00
Lubos
e49ee5c93b Merge branch 'master' into feature_openxr_stereo 2022-09-12 18:49:22 +02:00
Lubos
bdde5f0f7f OpenXR - Use per game stereo separation file 2022-09-12 18:47:13 +02:00
Henrik Rydgård
33a93e238a CLUT download: Replace the broken block transfer check with a new compat flag.
This compat flag should be temporary until we've implemented
a readback-free path for CLUTs from framebuffers, both when texturing
from static textures and other framebuffers.
2022-09-11 10:27:21 +02:00
Henrik Rydgård
42b2b0a266 atrac3: Apply the overallocation workaround in a couple more places. Fixes #15788 . 2022-09-09 11:54:20 +02:00
Henrik Rydgård
818334c592 atrac3: Allocate some extra bytes for the data buffer to workaround decoder bug. 2022-09-09 09:58:11 +02:00
Lubos
4b129bb9c3 OpenXR - Refactor VR compat integration 2022-09-07 15:52:50 +02:00
Lubos
4ff3e496c5 Merge branch 'master' into compat_openxr_gta 2022-09-07 14:58:18 +02:00
Henrik Rydgård
759c9695e5
Merge pull request #15901 from lvonasek/feature_openxr_stereo
OpenXR - Stereoscopic rendering
2022-09-06 11:52:32 +02:00
Unknown W. Brackets
1d5c90d370 Ge: Read matrix num/data back like hardware.
In case any game accidentally relies on this.
2022-09-05 19:37:58 -07:00
Lubos
93202e47f4 OpenXR - Config for stereo separation added 2022-09-05 22:10:20 +02:00
Lubos
3a0e6c7232 Merge branch 'master' into feature_openxr_stereo 2022-09-05 19:11:52 +02:00
Henrik Rydgård
7065a7fa8f Water effect fix #1: Force "Lower resolution for effects" on in Outrun and DiRT 2 2022-09-04 23:42:35 +02:00
Henrik Rydgård
2145a39251
Merge pull request #15957 from unknownbrackets/branch-delayslot
Handle branch/jump in branch delay slots more accurately
2022-09-04 23:18:38 +02:00
Lubos
93a2817062 Merge branch 'feature_openxr_stereo' into compat_openxr_gta 2022-09-04 16:33:33 +02:00
Lubos
5be6665df8 Merge branch 'master' into feature_openxr_stereo 2022-09-04 12:37:41 +02:00
Henrik Rydgård
8194bb73a1 Turn on logic ops in shader when shader bitmasking is used. 2022-09-04 11:43:36 +02:00
Unknown W. Brackets
fc50860f55 headless: Fix startup on latest Android versions.
Otherwise it tries to use deprecated ashmem and chokes.
2022-09-03 21:06:32 -07:00
Unknown W. Brackets
f75dadd1d6 arm64jit: Handle branch/jump in branch delay slots. 2022-09-03 21:04:54 -07:00
Unknown W. Brackets
bac36df453 x86jit: Refactor and fix jump in branch delay slot.
This seems cleaner, instead of the duplication of lines for each branch
type.
2022-09-03 19:58:46 -07:00
Unknown W. Brackets
d08ee44cf4 irjit: Handle branch/jump in branch delay slots.
See #15952 for more detail.
2022-09-03 19:05:31 -07:00
Henrik Rydgård
65c016d154 Fix dialog rendering (PPGe). Fixes #15954
Was caused by 867eb99 , part of #15950 .
2022-09-04 00:42:14 +02:00
Henrik Rydgård
6783ecd72a
Merge pull request #15952 from unknownbrackets/branch-delayslot
interp: Handle jumps in branch delay slots better
2022-09-03 22:38:22 +02:00
Unknown W. Brackets
0fc3619d1d interp: Handle jumps in branch delay slots better.
This matches tests from a PSP-2000.  Seems to consistently run the
instruction even if likely, which writes rd.

If the likely branch is not taken, the jump in the delay slot is taken.
However, it should cancel the rd write (not implemented here.)
2022-09-03 13:15:21 -07:00
Unknown W. Brackets
ccd4e92184 Kernel: Use PSPPointer for status objects.
Code makes more sense when reading ->size rather than offset 0.
2022-09-03 10:44:12 -07:00
Unknown W. Brackets
dd0de46ed9 Io: Use PSPPointer instead of struct temps. 2022-09-03 10:44:11 -07:00
Unknown W. Brackets
79c7a91d98 Font: Remove needless ReadStruct(). 2022-09-03 10:44:11 -07:00
Unknown W. Brackets
a86b904cf2 Ge: Switch from ReadStruct to PSPPointer. 2022-09-03 10:44:11 -07:00
Unknown W. Brackets
8b41178cb8 Psmf: Use PSPPointer instead of WriteStruct. 2022-09-03 10:44:11 -07:00
Unknown W. Brackets
8f96405ee5 Net: Remove usage of Memory::WriteStruct().
This also validates pointer write size better.
2022-09-03 10:44:11 -07:00
Unknown W. Brackets
3a372aa615 HLE: Remove misc usage of WriteStruct().
Prefer PSPPointer and notifying.
2022-09-03 10:44:11 -07:00
Unknown W. Brackets
867eb99505 PPGe: Cleanup memory writes for clarity.
Switch from WriteStruct to PSPPointer as well.
2022-09-03 07:25:03 -07:00
Henrik Rydgård
8c56abd3dc Remove setting "Disable slower framebuffer effects" 2022-09-03 11:06:43 +02:00
Unknown W. Brackets
cbeb6c1477 Replacement: Fix reload of replaced textures.
Were showing as ready before they were ready after decimate, causing
flickering.
2022-09-01 19:17:04 -07:00
Henrik Rydgård
5200208a84 Revert "Merge pull request #15930 from sum2012/kernel-minor"
This reverts commit fd863beb96, reversing
changes made to 59813fff6d.
2022-09-01 20:44:00 +02:00
Lubos
00aaf9e1a6 Merge branch 'master' into feature_openxr_stereo 2022-09-01 18:09:21 +02:00
Henrik Rydgård
f2e0f7611c Display paths with backslashes on Windows. Show texture path when saving. 2022-09-01 15:04:59 +02:00
Henrik Rydgård
1cd34f9d2b Another buildfix attempt 2022-09-01 14:07:27 +02:00
Henrik Rydgård
ecb84987ef Remove allocation from the heaviest MemBlockInfo path (BlockTransfer). Required some refactoring. 2022-09-01 11:59:35 +02:00
Henrik Rydgård
7bced814ce Remove a per-audio-frame allocation in sceAudio 2022-09-01 11:59:35 +02:00
Henrik Rydgård
c9048c3748 Shrink the DeferredDrawcall struct, because why not. Assorted cleanup 2022-09-01 11:59:33 +02:00
Henrik Rydgård
67d6549afd Rename Slow Framebuf effects to Shader Blending (might remove). Reassign readbacks to BlockTransferGPU. 2022-08-31 14:23:33 +02:00
Lubos
30a3cb622a Force clearing framebuffer for GTA games 2022-08-30 21:09:12 +02:00
Henrik Rydgård
1b3b1acefa Tweak ForceMax60Fps to work for Killzone 2022-08-30 20:10:44 +02:00
Henrik Rydgård
987bfc79ef Split the framebuffer in Killzone, with a compatibility flag.
Greatly improves performance.

See issue #6207
2022-08-30 20:05:56 +02:00
sum2012
75390be142 Fix sceKernelUnlockMutex timing
Fix https://github.com/hrydgard/ppsspp/issues/6557
2022-08-30 20:46:43 +08:00
Henrik Rydgård
340c75a2d9 Remove "DisableReadbacks" compat flag. MotoGP no longer needs it after BlockTransferAllowCreateFB was added. 2022-08-30 13:16:36 +02:00
Lubos
94968c3075 Merge branch 'master' into feature_openxr_stereo 2022-08-29 21:32:59 +02:00
Henrik Rydgård
333df62691 Remove the reinterpret compat flag, now always on
Remove ini entries
2022-08-29 17:41:29 +02:00
Lubos
c2c0561be2 OpenXR - OPENXR ifdef removal 2022-08-27 17:33:37 +02:00
Luboš Vonásek
5e434bccdb
Merge branch 'hrydgard:master' into feature_openxr_stereo 2022-08-27 12:23:38 +02:00
Henrik Rydgård
90c58ae9bb Add missing terminator to VR settings array. Better logging. 2022-08-25 01:11:36 +02:00
Luboš Vonásek
11a6318509
Merge branch 'hrydgard:master' into feature_openxr_stereo 2022-08-24 19:50:45 +02:00
Luboš Vonásek
c5cb45b1f7
Merge branch 'hrydgard:master' into feature_openxr_6dof 2022-08-24 06:55:31 +02:00
Henrik Rydgård
3c307c9857
Merge pull request #15884 from unknownbrackets/texreplace-io-async
Replacement: Read files only within time budget
2022-08-22 11:10:16 +02:00
Unknown W. Brackets
e473eb9f5e Replacement: Read files only within time budget.
When delayed texture load is enabled.  Intended to reduce IO delays on
Android.
2022-08-21 22:07:05 -07:00
Henrik Rydgård
0cb29db198
Merge pull request #15883 from unknownbrackets/linux-vulkan
Linux: Consider Vulkan if OpenGL init fails
2022-08-22 05:54:25 +02:00
Unknown W. Brackets
842bf86b1a Config: Default PSP model to SLIM on all platforms. 2022-08-21 19:05:51 -07:00
Unknown W. Brackets
4924b22b51 Linux: Consider Vulkan if OpenGL init fails. 2022-08-21 19:00:10 -07:00
Unknown W. Brackets
8e7847f6d9 UI: Show return address for exec crashes. 2022-08-21 14:49:34 -07:00
Unknown W. Brackets
80e481bbdc Core: Show exception on misaligned jump. 2022-08-21 14:49:34 -07:00
Henrik Rydgård
b296bc7282
Merge pull request #15879 from unknownbrackets/ir-slowmem
irjit: Validate alignment in slow memory mode
2022-08-21 22:52:41 +02:00
Unknown W. Brackets
90517ace59 irjit: Validate alignment in slow memory mode. 2022-08-21 13:24:10 -07:00
Unknown W. Brackets
6715f41410 irjit: Add constructs for validing mem access.
Basically to allow slow/fast memory to work with IR, including for
alignment checks.
2022-08-21 13:01:23 -07:00
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
Lubos
d570a194dd Merge branch 'feature_openxr_6dof' into feature_openxr_stereo 2022-08-17 17:08:12 +02:00
Lubos
2887671e6f OpenXR - Refactor display framerate 2022-08-17 16:55:19 +02:00
Lubos
1e479fa192 Merge branch 'master' into feature_openxr_6dof 2022-08-17 16:48:05 +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
Lubos
43bd9b9086 Merge branch 'feature_openxr_6dof' into feature_openxr_stereo 2022-08-15 17:23:57 +02:00
Lubos
70c4781feb OpenXR - Option to set canvas distance added 2022-08-15 17:19:42 +02:00
Lubos
428145c4b9 OpenXR - 2D mode hack mappable (using screen keycode) 2022-08-15 16:53:00 +02:00
Unknown W. Brackets
6fad5463d0 GE Debugger: Save tab configuration. 2022-08-14 11:42:04 -07:00
Lubos
47349b2c0d Merge branch 'master' into feature_openxr_stereo 2022-08-14 16:51:09 +02:00
Lubos
e76a68666a OpenXR - Config for stereoscopic vision added 2022-08-14 12:02:51 +02:00
Lubos
31524df0a8 OpenXR - Default config values fixed 2022-08-14 11:55:32 +02: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
Lubos
f81779b0de Merge branch 'master' into feature_openxr_6dof 2022-08-13 14:27:29 +02: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
Lubos
89a0a28c70 Merge branch 'master' into feature_openxr_6dof 2022-08-09 19:35:13 +02:00
Unknown W. Brackets
5246d901ce Headless: Cleanup unused/leak warnings. 2022-08-07 12:10:17 -07:00
Lubos
c00fea1b22 Merge branch 'master' into feature_openxr_6dof 2022-08-07 20:33:14 +02: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
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