Commit graph

5497 commits

Author SHA1 Message Date
Henrik Rydgård
ce5f157040 More paranoia 2024-01-31 10:48:35 +01:00
Henrik Rydgård
7af6501a6f UI: ScrollView: Improve interaction with the scroll bar thingy, avoid accidental clicks 2024-01-31 09:37:11 +01:00
Henrik Rydgård
9979372a97 Assorted paranoia, get rid of an allocation in the audio loop 2024-01-29 10:37:38 +01:00
Henrik Rydgård
ec411e0ecb Change when we call rc_client_do_frame to something that matches libretro
There's conflicting advice on when to do it, but to avoid people testing
their cheats twice, let's match as closely as we can.

This means that 30hz games will only have the callback run at 30hz.

The duplicate frames option may interfere, just like it may on libretro.
2024-01-22 19:35:26 +01:00
Henrik Rydgård
20626ebfee When we enforce run-behind due to multiplayer, show "Network connected" on the pause screen 2024-01-21 12:02:30 +01:00
Henrik Rydgård
96dcf40c79 Throw in some sanity checks of usleep 2024-01-20 23:33:21 +01:00
Henrik Rydgård
3fd5190271 Add a comment, some additional cleanup 2024-01-16 09:07:09 +01:00
Henrik Rydgård
bd7019eb9d Protect sceIoOpen against nullptr filenames 2024-01-15 12:02:58 +01:00
Henrik Rydgård
3ce843819e Show a notification if a game exits with sceKernelExitGame. Mainly useful for homebrew. 2024-01-15 10:36:32 +01:00
Henrik Rydgård
3bd2b1c7a7
Merge pull request #18670 from Tatsh/ffmpeg
Fix compilation against newer ffmpeg versions
2024-01-14 14:16:36 +01:00
Andrew Udvare
402f9acb5e Fix compilation with newer ffmpeg versions 2024-01-13 00:12:21 -05:00
Florin9doi
cad232e60e sceSircs/Infrared support on Android 2024-01-12 20:29:53 +02:00
Florin9doi
134b3c17ba GPS: Simulate fresh updates to satisfy MAPLUS 1/2 when real GPS data isn't available 2024-01-07 01:18:10 +02:00
Henrik Rydgård
53cfe5285d
Merge pull request #18668 from Florin9doi/gps_savestate
GPS: Set valid values and request updates on savestate loading
2024-01-06 11:02:24 +01:00
Florin9doi
b3a17726b6 GPS: Set valid values and request updates on savestate loading
Previously the gpsData/satData structs were empty until any app
executed sceUsbGpsOpen()
2024-01-06 00:51:03 +02:00
Florin9doi
29fb746ef8 GPS: Improve emulation to enable Go!Explore navigation 2024-01-05 11:22:52 +02:00
Henrik Rydgård
23a253dbb5 Fix connected check 2023-12-30 21:50:22 +01:00
Henrik Rydgård
8228e59423 Check if multiplayer if connected, enforce run-behind if so 2023-12-30 21:50:22 +01:00
sum2012
0319e489eb Fix warning in scepmsf 2023-12-30 20:37:11 +08:00
Henrik Rydgård
46b25d20a4
Merge pull request #18637 from unknownbrackets/riscv-more
Add some more RISC-V extensions to emitter
2023-12-29 19:03:49 +01:00
Unknown W. Brackets
d6ce03e1db Audio: Correct log function name. 2023-12-29 09:42:23 -08:00
Henrik Rydgård
126d88ecfc Back out clearly inconsequential/useless .reserve() calls 2023-12-29 08:27:56 +01:00
Henrik Rydgård
dd1396e2fd
Merge pull request #18581 from GermanAizek/lower-scope
Reduced lower scope for local objects
2023-12-20 14:53:36 +01:00
Herman Semenov
2a31f8c6c0 [Common/Core/HLE] Object out of scope optimization for better codegeneration (lower level scope) 2023-12-20 12:33:56 +03:00
Henrik Rydgård
e1f1af6223 Defer waits.
Add sanity check
2023-12-18 17:15:56 +01:00
Henrik Rydgård
97e0f6dc94 Prepare for deferred waits 2023-12-18 17:15:56 +01:00
Henrik Rydgård
7f075dc9fe Logic fix, oops. 2023-12-18 17:15:56 +01:00
Henrik Rydgård
91dbde9395 Small refactor to enable upcoming commits 2023-12-18 17:15:43 +01:00
Henrik Rydgård
e5af1f8bd0
Merge pull request #18560 from unknownbrackets/replacement-slice
HLE: Slice the very slow memset/memcpy variants
2023-12-17 12:35:48 +01:00
Unknown W. Brackets
e1eecb475a HLE: Slice the very slow memset/memcpy variants.
When they take an especially long time, this allows thread switches
meanwhile.  Important for cases where they might consume more than a total
frame worth of cycles in a background thread.
2023-12-16 20:53:01 -08:00
Unknown W. Brackets
053831bf4d HLE: Add mechanics for sliced replacements. 2023-12-16 09:08:58 -08:00
Henrik Rydgård
155222145a
Merge pull request #18550 from GermanAizek/fix-memsize-type
[Common Data Net/Core Debugger HLE/GPU Debugger] Fixed reduction data type size to strict 32-bit integer
2023-12-14 17:51:08 +01:00
Herman Semenov
309f0d97f2 [Common Data Net/Core Debugger HLE/GPU Debugger] Fixed reduction data type size to strict 32-bit integer 2023-12-14 19:26:10 +03:00
Henrik Rydgård
ebaebf5945
Merge pull request #18546 from GermanAizek/make-smart-ptr
[Common Data/Core Dialog HLE/GPU Common Vulkan] Optimize create smart pointers using C++17 std::make_*
2023-12-14 14:02:55 +01:00
Henrik Rydgård
b78c7ad470
Merge pull request #18545 from GermanAizek/const-ref-params
Objects in function parameters have been replaced with constant references
2023-12-14 13:49:33 +01:00
Herman Semenov
08070e7f31 [Common Data/Core Dialog HLE/GPU Common Vulkan] Optimize create smart pointer using C++17 std::make_* 2023-12-14 15:44:16 +03:00
Herman Semenov
af41281761 [Core/Dialog/ELF/FileSystems/HLE/HW/Util] Added const reference for function params 2023-12-14 14:22:24 +03:00
Henrik Rydgård
859e124f1a
Merge pull request #18542 from hrydgard/plugin-load-message
Add a notification when loading a PPSSPP prx plugin
2023-12-13 21:48:09 +01:00
Henrik Rydgård
844637f9d7 Add a notification when loading a prx plugin 2023-12-13 19:10:15 +01:00
Henrik Rydgård
0795f6b9e8
Merge pull request #18539 from hrydgard/speedhack-readback-multi-choice
Add multiple choices to the speedhack "Disable GPU readback"
2023-12-13 18:18:44 +01:00
Herman Semenov
315340fc62 Using const reference for C++17 range-based loop and freq used objects 2023-12-13 17:33:01 +01:00
Henrik Rydgård
e62614498e Buildfix mac (name collision with NO...) 2023-12-13 16:48:07 +01:00
Henrik Rydgård
f2da5dafd1 Use the universally supported Vulkan "565" 16-bit texture format
Previously mistakenly used the BGR format instead of the RGB.

Probably won't make much of a difference for anything, but may affect #17881
if my theory about it is correct.

Also minor cleanups.
2023-12-12 18:19:29 +01:00
Henrik Rydgård
a6d717cb39 Add option in dev tools to ask Android for 60hz display using Surface.setFrameRate
Might help #18514 and #18480 if we're lucky.
2023-12-12 15:30:39 +01:00
Henrik Rydgård
33e48e9675 OpenGL: Fix some confusion between gpu->BeginHostFrame and gpu->BeginFrame, fixing black screen 2023-12-11 23:05:37 +01:00
Henrik Rydgård
5d4ae87e43 Possible buildfix 2023-12-09 18:08:19 +01:00
Henrik Rydgård
c6db96354e
Merge pull request #18485 from hrydgard/beats-mp3-dir-fix
Beats: Fix file permissions on FAT so it can see custom MP3s.
2023-12-09 00:01:15 +01:00
Henrik Rydgård
a22450320b Some minor changes and comments after memory profiling 2023-12-08 12:22:12 +01:00
Henrik Rydgård
85001bf71f Remove some redundant uses of MOBILE_DEVICE. Goal is to one day get rid of that define. 2023-12-07 17:30:15 +01:00
Henrik Rydgård
b22e27a537 Compat: Enforce "RequireDefaultCPUClock" by disabling overclocking for these games
Instead of just warning.

Fixes #12811
2023-12-07 14:06:41 +01:00