Commit Graph
11179 Commits
Author SHA1 Message Date
Henrik Rydgård c69dd2f2e4 Merge pull request #15562 from unknownbrackets/securemode
Savedata: Allow no key when not using SECURE modes
2022-05-29 23:01:43 +02:00
Unknown W. Brackets b9310f1473 Savedata: Allow no key when not using SECURE modes.
For example, MAKEDATA with no key but explicit secureVersion is fine and
does create data.  However, it should still mark the version in
SAVEDATA_PARAMS, which currently we're failing to do.  Load then does some
form of validation of this version (but it's not an exact check weirdly.)

See #15068.
2022-05-29 13:23:16 -07:00
Unknown W. Brackets df4017baba Osk: Fix fullscreen check.
See previous 21bf41e, failed to add this change because of UTF-16.
2022-05-29 11:20:41 -07:00
Henrik Rydgård 21bf41e6dd Merge pull request #15558 from unknownbrackets/fullscreen
Config: Don't save --fullscreen unless changed
2022-05-29 19:54:46 +02:00
Unknown W. Brackets 3edf6ab0fa Config: Don't save --fullscreen unless changed.
This makes --fullscreen and --windowed temporary by using a separate
setting.  If the setting is changed explicitly, it begins saving it again.
2022-05-28 15:47:12 -07:00
Henrik Rydgård 017f71a703 Merge pull request #15549 from unknownbrackets/soltrigger
GPU: Hook Sol Trigger func to flush texture
2022-05-22 23:18:40 +02:00
Unknown W. Brackets 925a6d0ae1 GPU: Hook Sol Trigger func to flush texture.
This makes sure the hardware renderer reuploads a texture modified during
stall, which they normally skip as an optimization (see #10967, #9449.)
2022-05-22 11:44:49 -07:00
Henrik Rydgård 957c37b63f Merge pull request #15548 from unknownbrackets/crash-alignment
Crash: Recover from unaligned CPU access
2022-05-22 17:36:17 +02:00
Unknown W. Brackets 21fb6e5385 Crash: Recover from unaligned CPU access.
This catches SIMD accesses that are unaligned, see #15523.
2022-05-21 11:39:26 -07:00
ANR2ME a10271dc1d Detects connection establishment to AdhocServer by combining select and getpeername to increase accuracy. 2022-05-18 06:18:16 +07:00
ANR2ME ff8b5d53f4 We might be missing this in the past. 2022-05-18 06:18:16 +07:00
ANR2ME d86dc0bff6 Fix sceNetAdhocPtpConnect issue on Windows (ie. Tales of VS) due to getpeername on Windows can return a success when the other side haven't Accepted the connection yet. 2022-05-18 06:18:15 +07:00
ANR2ME 9497c98795 Fix sceNetAdhocPtpConnect issue on non-Windows (ie. Taiko no Tatsujin Portable DX on Linux) due to select can flags an unconnected socket as writeable & readable on Linux. 2022-05-18 06:18:11 +07:00
ANR2ME 1aa56ec942 Added a note regarding SO_NOSIGPIPE 2022-05-18 01:14:01 +07:00
ANR2ME f3dd1d908b Avoid compilation warning 2022-05-18 01:13:49 +07:00
ANR2ME ee2a24b19a Avoid a possibility of fatal signal on non-Windows 2022-05-18 01:11:57 +07:00
ANR2ME 799c721fa6 Added a note regarding select on Linux. 2022-05-18 01:11:56 +07:00
Unknown W. Brackets bbbb154da0 Display: Ignore lagsync when auto frameskip on.
The delays in lag sync will only confuse the frameskipping code,
because it will interpret the intentional delays as need for skipping.

In theory, frameskip could ignore the lag sync time, but it would still
make frameskip far less effective.
2022-05-10 17:06:09 -07:00
Henrik Rydgård a987261f1d Merge pull request #15500 from hrydgard/split-second-work
Add BlueToAlpha compat.ini workaround, fixes Split/Second graphics
2022-05-01 12:21:12 +02:00
Henrik Rydgård 123a0ef0c2 Better default control config for the Retroid handheld Android console 2022-04-30 19:24:58 +02:00
Henrik Rydgård 462972f7ea Add option to redirect blue to alpha if 565 mode is rendered and mask is 0x0FFFFF.
This is used by several games to render to the alpha channel of RGBA4444
images, which cannot normally be done directly on the PSP.

Can be used as a far more efficient replacement for
ReinterpretFramebuffers/ShaderColorBitmask
2022-04-30 18:17:16 +02:00
Henrik Rydgård d4dedeeeb8 Detect ISO files from file contents if extensions are wrong.
On older Android versions (that still support Android Storage
Framework), filenames are not always preserved in Content URIs, they can
look like .../msf:342 and things like that. So identify a few more file
types by content if filename identification fails.
2022-04-30 17:47:17 +02:00
iota97 7ebe69a3b2 Allow to set InternalScreenRotation per game 2022-04-30 09:59:17 +02:00
ANR2ME ee3d97a70d Logs unimplemented syscalls as error 2022-04-27 17:03:43 +07:00
ANR2ME 3bb83f03bd Partially fixes SenseMe app (will need HTTP/HTTPS support to be fully working) 2022-04-27 14:28:28 +07:00
Henrik Rydgård a8ddde5a27 Merge pull request #15494 from iota97/InternalRotationBind
Add key bind to hotswap internal screen rotation
2022-04-24 00:06:33 +02:00
Henrik Rydgård 73452b4743 Minor cleanups 2022-04-23 22:52:28 +02:00
iota97 caa9eacf4b Make UI a bit more descriptive 2022-04-23 19:20:38 +02:00
iota97 e93cccf607 Add key bind to hotswap internal screen rotation 2022-04-23 08:52:51 +02:00
Unknown W. Brackets 34d0acac4e Vulkan: Save textures using a memory copy. 2022-04-17 20:55:39 -07:00
Unknown W. Brackets cc119c923c Replacement: Avoid recheck saving within 5s.
This does mean an actively saved texture won't recheck, but it's close to
the old behavior where you could delete a new texture and it'd soon be
resaved.  This was convenient sometimes.
2022-04-17 20:52:26 -07:00
Unknown W. Brackets e0e3223c19 Replacement: Move IO checks to saving thread.
This will spin up more threads that might not actually save, but it will
remember this in savedCache.
2022-04-17 20:25:41 -07:00
Unknown W. Brackets 39d6dc1740 Vulkan: Allow saving const tex levels.
This might be used for fonts, for example.  They could be replaced, so no
reason not to export.
2022-04-17 20:06:03 -07:00
Henrik Rydgård b1af940d8e Save textures on background tasks when texture dumping is enabled.
Should help #15478, at least a bit.
2022-04-18 00:26:35 +02:00
Henrik Rydgård 3d6484ee4e Add contributed data about a couple of prototypes to auto-expand memory to 64MB
They were probably only ever running on devkits, that had more memory
than retail consoles.

Reported in 15453 (doesn't fix that issue though)
2022-04-16 20:38:03 +02:00
Henrik Rydgård c4dfbf4f1a Delete a lot of specialized alpha checking code.
This was now only used to check alpha in CLUTs, and the generic functions will not actually be any slower.
2022-04-15 12:34:50 +02:00
Henrik Rydgård 1bbaba4103 Fix some NEON code that had bad compile-time checks (and some didn't compile) 2022-04-15 00:54:44 +02:00
Henrik Rydgård 584e94f01e ARM32: Remove a lot of non-NEON fallback paths 2022-04-13 11:44:55 +02:00
Henrik Rydgård a68ddd0a8d Merge separate NEON functions into the normal functions.
We no longer support non-NEON ARM.

It's nice also to have the NEON and SSE implementations "close" to each
other, easier to port optimizations back and forth etc.
2022-04-12 23:43:21 +02:00
Unknown W. Brackets 3c3e397215 Replacement: Avoid potential destructor crash. 2022-04-09 09:41:49 -07:00
Henrik Rydgård 5b58b6906a Merge pull request #15470 from hrydgard/threading-manager-stresstest
Threading manager stresstest and fixes
2022-04-09 09:21:20 +02:00
Henrik Rydgård 5b20ace502 OK, this does crash 2022-04-08 12:04:34 +02:00
Unknown W. Brackets 4ee9292d23 NetAdhoc: Fix warning. 2022-04-02 16:35:24 -07:00
ANR2ME 1a6c889906 Increase the timeout when the connection to the AdhocServer is already in progress, avoids cutting off the connection if it took longer than expected but almost completed. 2022-03-24 08:34:03 +07:00
ANR2ME d5152752d2 Added a function to get SO_ERROR on a socket. 2022-03-24 08:34:03 +07:00
ANR2ME 86315fed3d Updated getLocalIp function to detects local IP better. 2022-03-24 08:34:03 +07:00
ANR2ME 65a90a2ec0 Use the most recent posix socket id during blocking simulation, since there is a possibility for the socket id to changes after recreated. 2022-03-24 08:34:03 +07:00
ANR2ME 6b0cb78b3b Recreate the socket before attempting to connect again after ECONNREFUSED/ENETUNREACH error, since reusing the socket only works on Windows. 2022-03-24 08:34:02 +07:00
ANR2ME 267757a5e4 Caches IP-specific Port Offset to avoid recalculating them. 2022-03-24 08:34:02 +07:00
ANR2ME 5e739f32b2 Use reference when possible to avoid copying. 2022-03-24 08:34:02 +07:00