Commit Graph
11190 Commits
Author SHA1 Message Date
Unknown W. Brackets 8ae673572a Merge pull request #15628 from hrydgard/arm64-neon-flag
Add ARM64_NEON compile arch flag
2022-06-25 16:29:03 -07:00
Henrik Rydgård 26ed3dbdc3 Merge pull request #15627 from zack-huangzihan/main
ffmpeg: fix compile bug
2022-06-25 07:59:04 +02:00
Henrik Rydgård cd92151de7 Add ARM64_NEON compile arch flag
This allows doing ARM64 builds without NEON support, and allows simplifying some checks.
2022-06-25 07:29:20 +02:00
ZiHan Huang 33aeac694d ffmpeg: fix compile bug
Err is generated when USE_FFMPEG is set to OFF, The Camera
module relies on FFMPEG

Signed-off-by: ZiHan Huang <zack.huang@rock-chips.com>
2022-06-24 16:50:56 +08:00
ANR2ME ea6e5c8f74 Mask some part of public IP in the logs for security reason. 2022-06-23 00:41:41 +07:00
iota97 0288717206 Add numpad enter as a confirm 2022-06-21 08:32:57 +02:00
iota97 e48ea158e4 Allow to repeat a "single" button 2022-06-19 15:18:05 +02:00
Henrik Rydgård 8922be2015 Out of performance paranoia, limit the Mali workaround to known affected games 2022-06-19 01:48:37 +02:00
Henrik Rydgård 94800f6194 Inline the CoreParameters accessor (eliminates a function call for each access) 2022-06-11 12:13:07 +02:00
Henrik Rydgård c82d8a04e0 Add centered line drawing for Echochrome. 2022-06-11 00:20:35 +02:00
Halo-Michael a709e8eaa8 Fix CpuCore select 2022-05-30 06:32:18 +08:00
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