Commit Graph

4534 Commits

Author SHA1 Message Date
Henrik Rydgård
437dbe4989 Mac: Don't randomly printf the recents list from PSPNSApplicationDelegate 2024-01-27 11:09:11 +01:00
Henrik Rydgård
1a1b79606b BackgroundAudio Atrac3+: malloc a few extra bytes. Fixes crash reported by Verymelon 2024-01-26 19:42:25 +01:00
Henrik Rydgård
f590acec78 Left a duplicate string in, removing. 2024-01-25 16:11:54 +01:00
Henrik Rydgård
376a47e0f2 Buildfix 2024-01-25 14:12:53 +01:00
Henrik Rydgård
bc92226715 Folder browser (like when clicking Browse...): Preinitialize with the current folder. 2024-01-25 12:47:37 +01:00
Henrik Rydgård
1f129b6dca Replace "ReadFileToString" with a few semantically clearer wrappers. 2024-01-25 09:55:54 +01:00
Henrik Rydgård
f0af76ec40 GameInfoCache: Check read size before using the data. 2024-01-25 09:43:06 +01:00
Henrik Rydgård
179776460c PauseScreen: Put the run-in-background button next to Continue
Fixes #18544
2024-01-24 10:04:38 +01:00
Henrik Rydgård
622aeaab6d Hopefully robustify some logic in EmuScreen enough 2024-01-24 00:06:01 +01:00
Henrik Rydgård
21d5257fbf Translation keys etc: Address feedback from TotalCaesar659 2024-01-23 19:23:23 +01:00
Henrik Rydgård
4605cfd941 Fix UI display issue with directory names starting with PSP (but not equal to it) 2024-01-23 11:19:31 +01:00
Henrik Rydgård
3fae8dd547
Merge pull request #18743 from hrydgard/retroachievements-match-libretro
Change when we call rc_client_do_frame to something that matches libretro
2024-01-23 10:49:16 +01:00
Henrik Rydgård
77d52b83db Fix icon reading bug in GameInfoCache 2024-01-23 01:06:56 +01:00
Henrik Rydgård
2e16fd3bcc Fix fake game ID generation to work with scoped storage 2024-01-23 01:06:56 +01:00
Henrik Rydgård
6e587f50f3 Rework memstick moves between devices to copy, verify and then delete 2024-01-22 21:52:39 +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
c6c0d0bf42 Android memstick folder moves: Do recursive moves if in the same device. Drastically faster. 2024-01-22 16:26:29 +01:00
Henrik Rydgård
6ae9d42516 Preparations for reworking the memstick folder move functionality 2024-01-22 15:56:07 +01:00
Henrik Rydgård
c2850ff65a Store: Implement progress bar for homebrew installs 2024-01-22 11:55:42 +01:00
Henrik Rydgård
bd388fc094 Add some comments and logging 2024-01-22 11:55:42 +01:00
Henrik Rydgård
3b3373dde6 Add some test code for file systems. Discovered that delete on scoped storage is always recursive! Dangerous. 2024-01-22 11:54:41 +01:00
Henrik Rydgård
558bcff368 Reorder some settings in System so the sub-categories make sense 2024-01-22 11:54:41 +01:00
Henrik Rydgård
b2c19695ed Extra check and comment 2024-01-21 13:47:11 +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
7479e24481 Don't draw overlays into screenshots.
Proposed by "Propose Panic" on Discord.
2024-01-21 10:09:32 +01:00
Henrik Rydgård
789c7e5032
Merge pull request #18737 from hrydgard/warn-about-extracted-isos
Warn that extracted ISOs might not work
2024-01-21 00:08:48 +01:00
Henrik Rydgård
53cfecf8fa Remove superfluous error message 2024-01-20 23:11:42 +01:00
Henrik Rydgård
5bf6625740 Translation string 2024-01-20 23:11:30 +01:00
Henrik Rydgård
55adcb1a13 Warn the user if they try to run an extracted ISO, with a very in-your-face message.
Fixes #18735
2024-01-20 23:01:08 +01:00
Henrik Rydgård
f1d19cd736 CwCheats: Retry looking in g_gameInfoCache until the data is there.
Replaces #18733

Fixes at least one instance of #18694, don't know if there are other
causes.
2024-01-20 20:07:38 +01:00
Henrik Rydgård
f77adec8af Unrelated, but return true to SYSPROP_HAS_KEYBOARD in SDL. 2024-01-20 11:23:58 +01:00
Henrik Rydgård
c4ad63dd5b
Merge pull request #18731 from hrydgard/improve-crash-info
Improve crash screen info
2024-01-19 19:06:21 +01:00
Henrik Rydgård
f7785a56f4 Add some tips to the crash screen 2024-01-19 17:05:30 +01:00
Henrik Rydgård
7feae30c41 Move the crash and FPS overlays to DebugOverlay.cpp/h 2024-01-19 16:52:42 +01:00
Henrik Rydgård
b71ccfdb71 CwCheats: Add ms unit, rename to Refresh Interval. 2024-01-19 15:12:53 +01:00
Henrik Rydgård
7a318b46e8 Draw the line between the tabs and contents as a spacer instead of custom code. 2024-01-19 14:56:29 +01:00
Henrik Rydgård
0e03b66a95 Make vertical tabs scrollable 2024-01-19 14:56:29 +01:00
Henrik Rydgård
f73d0587d4 Comments, make locking more consistent in GameInfoCache 2024-01-19 14:56:29 +01:00
Henrik Rydgård
902b73698f Slight improvement to extra assert info (set special info on pause screen) 2024-01-18 23:00:43 +01:00
Henrik Rydgård
74f5be02a1 GameInfo: Try to reduce the locking a bit. 2024-01-18 22:52:56 +01:00
Henrik Rydgård
e5339bdaa2 Fix issue on EmuScreen after a crash 2024-01-18 22:08:33 +01:00
Henrik Rydgård
e29f59a102 GameInfoCache: Move some I/O out of the mutex. There's more to do. 2024-01-18 20:04:29 +01:00
Henrik Rydgård
bfe16fdf4e EmuScreen: Need to call UIContext::BeginFrame at some point in all cases. 2024-01-18 18:49:16 +01:00
Henrik Rydgård
b899a178bf Change approach (call from NativeFrame instead). Add Mac support 2024-01-18 18:21:12 +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
3967d074bf EmuScreen: Use CLEAR instead of DONT_CARE to help the render pass merger.
Should fix #18720

We need to annotate store mode properly too, in order to merge passes
that load with DONT_CARE.

The reason it's a problem that we fail to merge renderpasses is that old
Mali drivers get things in a terribly wrong state if you submit an empty
renderpass.
2024-01-18 09:44:40 +01:00
Henrik Rydgård
6b20fdfb11
Merge pull request #18715 from hrydgard/more-beta-fixes
More beta fixes
2024-01-17 18:21:45 +01:00
Henrik Rydgård
cbb4236cd8 Vulkan: Attempt to fix some more shutdown race conditions, simplify. 2024-01-17 14:49:49 +01:00
Henrik Rydgård
cf635fcd1e Add new translation strings 2024-01-17 10:51:12 +01:00
Henrik Rydgård
9253bf9cb5 Add a new screen for managing installed Adreno drivers 2024-01-17 10:51:08 +01:00