12937 Commits

Author SHA1 Message Date
Henrik Rydgård
d51da3ca60 Windows: Add "Restart Graphics" to the debug menu. Useful to debug resource lifetime issues. 2024-01-18 15:57:45 +01:00
Henrik Rydgård
1304d04161 Fix a particular type of race condition in file dialog requests
It seems to be possible for a user to back out of a screen before
receiving the "dialog completed" callback on Android, in which case
things pointed to by the callback might be gone.

In this case, it's better to simply not call the callback, rather than
crashing.

This is accomplished by assigning "Tokens" to screens that cause
requests, and in ~Screen, invalidate any pending requests belonging to
that token.
2024-01-18 12:25:55 +01:00
Henrik Rydgård
531f145e0b Fix NEON compilation error on strict compilers. Fixes #18688 2024-01-18 10:38:30 +01:00
Henrik Rydgård
d1fb213750 Cleaner way 2024-01-18 00:54:04 +01:00
Henrik Rydgård
4fea6eeaab Try a compromise with the paths 2024-01-18 00:29:27 +01:00
Henrik Rydgård
ff12ff1345 Android: Fix running plain PRXs on scoped storage. Minor cleanup. 2024-01-18 00:22:51 +01:00
Henrik Rydgård
9253bf9cb5 Add a new screen for managing installed Adreno drivers 2024-01-17 10:51:08 +01:00
Henrik Rydgård
e1b1ae449b Don't crash after mapping analog speed to a stick.
Fixes #18689
2024-01-16 14:32:42 +01:00
Henrik Rydgård
3fd5190271 Add a comment, some additional cleanup 2024-01-16 09:07:09 +01:00
Henrik Rydgård
7e427e41d1 Remove a bunch of dead code from CoreTiming ("threadsafe" events)
We haven't used these "threadsafe" events since we removed our first attempt
at GPU threading, so like 10 years, and maybe some experimentation in the
networking code according to some comments. It's unlikely that any
savestates that used these events would load anyway.
2024-01-16 09:06:03 +01:00
Henrik Rydgård
6066e745db CoreTiming::ProcessEvents : Reject bad event types. Rename function. 2024-01-15 23:57:34 +01:00
Henrik Rydgård
3deabaeb04 JitBlockCache: Add a debug assert 2024-01-15 23:28:59 +01:00
Henrik Rydgård
e908034ad3 Revert back to the old way of fitting into 16:9: Crop one line at the top and bottom
I seem to have switched to a stretch at some point, which isn't ideal and can be
achieved anyway with the stretch option. A two-line crop (1 at top, 1 at bottom)
is generally the better option.

There's now also a hidden ini setting to turn it off. I might be
convinced to add it as a real setting once I figure out a good name for
it. The setting:

```ini
[Graphics]
DisplayCrop16x9 = True
```

Fixes #18693
2024-01-15 22:04:42 +01:00
Henrik Rydgård
dc4f22d1a4 GameDB: Add a mutex, and load on demand instead. 2024-01-15 17:17:02 +01:00
Henrik Rydgård
4956477f63 Paranoia 2024-01-15 12:35:04 +01:00
Henrik Rydgård
92d1c33426 Another minor GameDB fix 2024-01-15 12:21:48 +01:00
Henrik Rydgård
bd7019eb9d Protect sceIoOpen against nullptr filenames 2024-01-15 12:02:58 +01:00
Henrik Rydgård
15db280358
Merge pull request #18698 from hrydgard/beta-crash-fixes
Beta crash fixes 1
2024-01-15 11:57:41 +01:00
Henrik Rydgård
dc4053095a Add some paranoia checks in the GameDB 2024-01-15 10:47:16 +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
80547c5382
Merge pull request #18643 from hrydgard/update-rcheevos
Update rcheevos submodule
2024-01-14 15:29:40 +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
Henrik Rydgård
096131db81 Update rcheevos 2024-01-14 13:47:44 +01:00
Andrew Udvare
402f9acb5e Fix compilation with newer ffmpeg versions 2024-01-13 00:12:21 -05:00
Henrik Rydgård
5bb4757db1
Merge pull request #18684 from Florin9doi/infrared
sceSircs/Infrared support on Android
2024-01-12 22:40:06 +01:00
Florin9doi
cad232e60e sceSircs/Infrared support on Android 2024-01-12 20:29:53 +02:00
Henrik Rydgård
00f53ad767 Handle file type detection of extracted ISO directories better. Reported by Nemoumbra. 2024-01-12 15:37:53 +01:00
Henrik Rydgård
4360fe786c Add a setting for smart 2D texture filtering 2024-01-12 11:10:53 +01:00
Henrik Rydgård
2b70c1882d
Merge pull request #18676 from Nemoumbra/debug-symbol-names
Made up symbols names -> the real ones
2024-01-11 12:42:59 +01:00
Nemoumbra
f6c5edb725 Added function names from ULES00590 (Aces of War) 2024-01-10 03:04:29 +03: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
Henrik Rydgård
90ce29a229
Merge pull request #18666 from Florin9doi/go_explore_navigation
GPS: Improve emulation to enable Go!Explore navigation
2024-01-06 11:01:54 +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
Florin9doi
777569e4c4 Fix Go!Explore🗺️🧭 issue with GetDirListing(/); closes #15932 2024-01-04 14:47:07 +02:00
Henrik Rydgård
2193dcafc3 Remove wrong reserve call. Fixes new crash reported in #15932 2024-01-02 11:10:23 +01:00
Henrik Rydgård
8aa44b7e1b Add a reported prototype game ID to the list of games that need more RAM 2023-12-31 17:21:02 +01:00
Henrik Rydgård
3e53d1e895 Joystick input: Fix low-end radius (inverse deadzone) 2023-12-31 16:47:26 +01:00
Henrik Rydgård
706b98a0b9 Joystick: Bias down the axis-to-button threshold if the "co-axis" is active.
This makes it much easier to hit the diagonals in the case where you map
the right stick on your 360 controller to say the DPAD for camera
control in some game.

No setting, let's see if that's required.

Fixes #17792, it should now "just work".
2023-12-31 13:55:04 +01:00
Henrik Rydgård
cdc8bc6eae
Merge pull request #18647 from hrydgard/enforce-runbehind-multiplayer
Enforce run-behind-pause-screen if ad-hoc multiplayer active
2023-12-31 00:14:13 +01:00
Henrik Rydgård
a6f041568b Allow merging framebuffers vertically like the old Juiced 2 fix.
Fixes Tokimeki Memorial 4 rendering.

Fixes #6379, see comments.
2023-12-30 22:40:07 +01:00
Henrik Rydgård
de0d82d020 Improve disc ID detection for old frame dumps.
Ran into this looking at issue #6379
2023-12-30 22:06:52 +01: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
Henrik Rydgård
acd719448e Wrap g_Config.bRunBehindPauseMenu behind a function, so we can add conditions 2023-12-30 21:50:20 +01:00
sum2012
0319e489eb Fix warning in scepmsf 2023-12-30 20:37:11 +08:00
Henrik Rydgård
9bcb858131 Various changes to the webserver to handle serving HTTP subdirectories 2023-12-29 21:35:31 +01: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
Henrik Rydgård
5c1767c849
Merge pull request #18636 from unknownbrackets/debug-log-usec
Debugger: Add usec for breakpoint logging
2023-12-29 18:58:23 +01:00