Commit Graph

4813 Commits

Author SHA1 Message Date
Henrik Rydgård
306c28c2cc Remove lots of now-unnecessary ".c_str()" 2024-05-24 22:53:13 +02:00
Henrik Rydgård
ccbcf1369b Convert DrawString* functions to use std::string_view 2024-05-24 22:52:51 +02:00
Henrik Rydgård
f864f52b64 More app lifecycle work. Switching between Vulkan and OpenGL now works. 2024-05-24 11:48:44 +02:00
Henrik Rydgård
9a93a478d1 Fix smooth switching from Vulkan to GL 2024-05-23 14:37:12 +02:00
Henrik Rydgård
47f12dfeec Make linking to MoltenVK work 2024-05-23 09:41:00 +02:00
Henrik Rydgård
58f7e190c4 Move the category array outside the function 2024-05-21 11:17:34 +02:00
Henrik Rydgård
635b4d4acf Fix memory error in control mapping dialog
Can't put pointers to member variables in a static const array, it'll
get initialized once, then it'll be wrong the next time.
2024-05-21 11:15:54 +02:00
Henrik Rydgård
835aa02a28 Add basic soft-keyboard support on iOS
This uses the old UIKeyInput which is a bit limited language-wise, however, it's enough
to log into RetroAchievements and change your nickname, at least, and it was the easiest to implement.

So, this solves 90% of the problems caused by missing keyboard support, at least.
2024-05-20 19:08:35 +02:00
Henrik Rydgård
5042555d7b Make a dedicated system request KEEP_SCREEN_BRIGHT, unify behavior between Windows and Android more 2024-05-20 14:03:54 +02:00
Henrik Rydgård
1ca5bc9d86 Partially revert previous commit 2024-05-20 10:04:11 +02:00
Henrik Rydgård
f1e40987cb Update URIs for iOS 2024-05-20 10:04:11 +02:00
Henrik Rydgård
1ff7710854 Folder/file browser tweaks 2024-05-20 10:04:11 +02:00
Henrik Rydgård
b1f6647fa6 Add "Buy gold" URI for iOS 2024-05-20 10:04:11 +02:00
Henrik Rydgård
3af181d35d Hide the nickname picker on iOS (until we have keyboard support) 2024-05-20 10:04:11 +02:00
Henrik Rydgård
a2a150a95e More work on iOS Gold version 2024-05-20 10:04:11 +02:00
Henrik Rydgård
dbf1f9db9b Remove the Exit button on app store builds (review guidelines) 2024-05-20 10:04:11 +02:00
Henrik Rydgård
f6f45dda0a Disable the JIT hackery in app store builds 2024-05-20 10:04:11 +02:00
Henrik Rydgård
45f094569a CMake: Add IOS_APP_STORE build option, which will enable required restrictions. 2024-05-20 10:04:11 +02:00
Henrik Rydgård
dadc37cb9b EmuScreen: If a requested-to-boot game is already running, ignore the request. 2024-05-14 00:04:40 +02:00
Henrik Rydgård
ecdc7940f4 Android: Fix issue where shortcuts wouldn't override the currently running game. 2024-05-14 00:02:59 +02:00
Henrik Rydgård
a059750f5a Add basic checkbox UI for GPI switched, add display of GPO LEDs
Try it with Parappa.
2024-05-12 18:01:25 +02:00
Henrik Rydgård
9dc8c05fae
Merge pull request #19038 from GermanAizek/all-fields-init-refactor
[Core/GL/UI] Not all fields initilize and minor code refactor
2024-05-12 17:05:39 +02:00
Henrik Rydgård
c38ce2a5be Fix an issue when bringin up the dev menu with transparent background disabled 2024-05-11 21:28:26 +02:00
Henrik Rydgård
f569d47edd Fix display of some parameters in a debug screen 2024-05-11 13:27:22 +02:00
Henrik Rydgård
ad541f204b
Merge pull request #19127 from lvonasek/feature-openxr-projection
OpenXR - Projection matrix (camera issue) fixed
2024-05-10 22:22:31 +02:00
Henrik Rydgård
d21fef52ae Allow taking screenshots in the app menu 2024-05-10 21:10:11 +02:00
Henrik Rydgård
699a41a3fa GameInfoCache: Fix issue reloading the BG texture after wiping it from memory
Fixes #19077
2024-05-10 14:15:26 +02:00
Lubos
7f127e3567 Revert "OpenXR - Projection matrix on Quest 3 fixed"
This reverts commit 4d61896403.
2024-05-08 21:57:31 +02:00
Henrik Rydgård
ac40fb83d4 iOS: Hide non-working RetroAchievements login, until we can fix it (still usable through ini file) 2024-05-06 22:51:52 +02:00
Henrik Rydgård
508d6ebd58 Minor code cleanup 2024-05-06 22:46:54 +02:00
Henrik Rydgård
a75516f53e Add support for a "content rating" field for apps in the homebrew store.
This is to maximize likelihood of passing iOS review.
2024-05-06 22:41:09 +02:00
Henrik Rydgård
a5526d3b65 PPSSPP Store: Increase the height of the top bar, the back button was too small 2024-05-06 17:33:33 +02:00
Henrik Rydgård
ae1ee41eb0 Add functionality to limit a pathbrowser to a specific root 2024-05-03 17:54:57 +02:00
Henrik Rydgård
e7cfb5234f Improve checks for JIT ability
Prep for iOS
2024-05-03 16:49:28 +02:00
Henrik Rydgård
8397fd6791 Also disable the GPU JIT tests on ARM64, not applicable 2024-04-29 11:13:35 +02:00
Henrik Rydgård
23a913ebe4
Merge pull request #19071 from hrydgard/decoder-interface-change
Refactor: Change *outBytes to *outSamples in AudioDecoder::Decode.
2024-04-16 22:29:28 +02:00
Henrik Rydgård
dbd774040e Add option to mirror the camera image horizontally.
Only for Windows right now - since the PSP expects the image as a JPEG and
the various backends deliver it as such, we have to add
platform-specific code to mirror the image pre-compression.
2024-04-16 20:33:06 +02:00
Henrik Rydgård
1b366afa35 Refactor: Change *outBytes to *outSamples in AudioDecoder::Decode. 2024-04-16 15:31:11 +02:00
Henrik Rydgård
f3d6c93339 Add empty AtracCtx2 implementation, and a dev setting to select it. Savestates don't work. 2024-04-15 13:50:16 +02:00
Henrik Rydgård
d402068745 Fix mono output from Atrac decoders. (sceAtrac*MOut* functions) 2024-04-15 11:50:32 +02:00
Henrik Rydgård
68c192b892 Fix some symbol clashes apparently affecting the docker build 2024-04-13 01:06:18 +02:00
Henrik Rydgård
71a6372ac5
Merge pull request #19020 from hrydgard/clickable-notifications
Clickable notifications
2024-04-12 16:23:52 +02:00
Henrik Rydgård
75bc00c5be
Merge pull request #19039 from GermanAizek/always-true-false
[UI] 'info' always true and 'txOffset' always false
2024-04-12 13:44:01 +02:00
Herman Semenov
117e5f088c [UI] Fixed 'info' always true 2024-04-12 13:54:26 +03:00
Henrik Rydgård
5ed77b58ca Improve the AudioDecoder API to avoid having to call a function to get the bytes consumed 2024-04-11 16:49:00 +02:00
Herman Semenov
0d1f7e2e6c [Core/GL/UI] Not all fields initilize and minor code refactor 2024-04-11 15:50:42 +03:00
Henrik Rydgård
bf280eb410 Remove "SetExtraData" from AudioDecoder, pass in the data at creation instead 2024-04-11 14:39:59 +02:00
Henrik Rydgård
c6f5ac0c81
Merge pull request #19024 from hrydgard/audio-decoder-refactor
Audio format decoder: Refactor to enable multiple decoder implementations
2024-04-10 14:52:03 +02:00
Henrik Rydgård
6575ba5487 Make screenshot notifications clickable (on platforms where it's possible) 2024-04-10 13:21:23 +02:00
Henrik Rydgård
c6c733a27a Add way to pass data into OSD click callbacks (and a way to free it) 2024-04-10 13:18:30 +02:00
Henrik Rydgård
9b57375b07
Merge pull request #19019 from hrydgard/plugins-on-game-screen
Add option to disable plugin, show list of available plugins on game screen
2024-04-10 13:14:21 +02:00
Henrik Rydgård
1805910fac More refactoring 2024-04-10 12:22:58 +02:00
Henrik Rydgård
1938d3b876 More prep for plugging in alternate audio decoders 2024-04-10 12:14:58 +02:00
Henrik Rydgård
a92dd9767c Fix translation strings 2024-04-09 19:15:55 +02:00
Henrik Rydgård
862fb951f1 Add support for loading mp3 files as UI sound.
Fixes #18136
2024-04-09 19:15:49 +02:00
Henrik Rydgård
4b34e4cfb4 Add option to disable plugins completely 2024-04-09 13:13:30 +02:00
Henrik Rydgård
e903287f4c Game info screen: Show list of any plugins that will be loaded on start of the game 2024-04-09 12:55:50 +02:00
Henrik Rydgård
770e5b4f4a Fix shortcut translation so we don't eat Ctrl+C for RAIntegration windows 2024-04-05 22:41:08 +02:00
Henrik Rydgård
5a8140c301 Initialize RAIntegration support if available. Untested. 2024-04-05 18:15:10 +02:00
Henrik Rydgård
814ba6ef44
Merge pull request #18973 from GermanAizek/fix-return-copies
Fixed return copies from functions and added const ref params
2024-04-03 00:21:48 +02:00
Herman Semenov
9e126b5f00 Fixed possible accidental conversion memsize type to strict 32 bit 2024-04-02 19:03:12 +03:00
Herman Semenov
17ecee1715 Fixed return copies from functions and const ref params 2024-04-02 18:37:00 +03:00
Henrik Rydgård
746696ab58
Merge pull request #18970 from GermanAizek/cleanup
Cleanup excess redefines and maybe fixed result in HLE sceIo::sceIoGetDevType()
2024-04-02 13:55:27 +02:00
Henrik Rydgård
72c77ea2cd
Update SavedataScreen.cpp - preserve the old behavior 2024-04-02 13:41:50 +02:00
Henrik Rydgård
d8c6a516d7
Merge pull request #18967 from GermanAizek/fix-memleaks
[Common/File/UI] Fixed minor memleaks
2024-04-02 13:40:07 +02:00
Henrik Rydgård
27b6b6b4dc
Update DevScreens.cpp 2024-04-02 13:39:49 +02:00
Herman Semenov
0f94ac9189 Cleanup excess redefines and maybe fixed result in HLE sceIo::sceIoGetDevType() 2024-04-02 14:25:26 +03:00
Henrik Rydgård
aed6d36c92 Fix the EGL tab in System Info. Discovered indirectly by GermanAizek in #18967 2024-04-02 12:58:40 +02:00
Signed-off-by: Henrik Rydgård
9c3c23daa6 Fixed memleaks and incorrect add tab in ui::view_group
Signed-off-by: Herman Semenov <GermanAizek@yandex.ru>
2024-04-02 13:48:16 +03:00
Henrik Rydgård
3424d24605 Fix hang when trying to load non-existing file or folder. 2024-03-26 15:10:06 +01:00
Henrik Rydgård
d284ad4496 Remove warning for bad CHDs 2024-03-16 20:52:21 +01:00
Henrik Rydgård
40ff5dea36 Let's also allow the volume setting 2024-03-09 12:29:46 +07:00
Henrik Rydgård
a89e05b560 Don't gate the RA customize tab on the availability of a file chooser 2024-03-09 12:26:09 +07:00
Henrik Rydgård
17270825a1 Simplify a translation string.
Fixes #18897
2024-02-27 15:27:33 +07:00
LunaMoo
90fd476acf Change based on feedback 2024-02-25 11:18:11 +01:00
LunaMoo
47b19eb24b Fix "Savestate Slot" string 2024-02-25 10:29:28 +01:00
Henrik Rydgård
5398820867 Crashfix on memstick screen.
Fixes #18886
2024-02-24 18:49:57 +07:00
Henrik Rydgård
c5791764d8 Make the i18n T function use std::string_view
Buildfixes, crashfixes

One more

Android buildfix

Buildfix Qt
2024-02-12 18:44:39 +01:00
Henrik Rydgård
9322b4c6dc Warning fix, some paranoid zero init 2024-02-12 18:33:38 +01:00
Henrik Rydgård
1fbf685504 Avoid vertically merging the two main framebuffers, even if FramebufferAllowLargeVerticalOffset is on. 2024-02-04 11:26:20 +01:00
Henrik Rydgård
8dc4d6e026 Temporarily disable MSAA on Adreno GPUs. See issue #18818 2024-02-03 18:40:03 +01:00
Henrik Rydgård
d4a71a2268 More fixes 2024-02-03 00:20:08 +01:00
Henrik Rydgård
d6b109b115 Fix crash when loading a ppdmp while another ppdmp is displaying 2024-02-02 13:55:38 +01:00
Henrik Rydgård
e226ef6bd1
Merge pull request #18814 from hrydgard/hide-extracted-iso-warning
Hide the extracted ISO warning if ppsspp-index.lst is present.
2024-02-02 11:51:15 +01:00
Henrik Rydgård
ca6e0f4f57 Hide the extracted ISO warning if ppsspp-index.lst is present. 2024-02-02 11:21:53 +01:00
Henrik Rydgård
a07a2e445b Fix event order and some logic. Can now change skip buffer effect while running in background. 2024-02-01 23:26:36 +01:00
Henrik Rydgård
337de548b8 Fix crash when toggling Skip buffer effects while paused 2024-02-01 19:59:01 +01:00
Henrik Rydgård
13abd4991a Minor gamescreen polish 2024-02-01 01:23:34 +01:00
Henrik Rydgård
61bd01144e UI fixes 2024-01-31 23:17:51 +01:00
Henrik Rydgård
3831ec1921 Warn the user about bad CHDs
If they're not created with "chdman createdvd", they will perform really
badly.
2024-01-31 22:15:47 +01:00
Henrik Rydgård
591dfdd0c5 Fix bug with empty themes showing up 2024-01-31 12:20:46 +01:00
Henrik Rydgård
14cd094535
Merge pull request #18800 from hrydgard/last-minute-fixes
Even more checks and fixes
2024-01-31 11:59:45 +01:00
Henrik Rydgård
ce5f157040 More paranoia 2024-01-31 10:48:35 +01:00
Henrik Rydgård
65bfdb1f69 Fix theming issue in SettingInfoMessage 2024-01-31 10:33:23 +01:00
Henrik Rydgård
c7ed87b352 Assorted paranoia and improved checks 2024-01-31 10:22:03 +01:00
Henrik Rydgård
0576cafdeb Add some missing null checks in GameScreen 2024-01-30 19:09:11 +01:00
Henrik Rydgård
cfadc397f5 Store: remove the broken download speed indicator. 2024-01-30 14:50:55 +01:00
Henrik Rydgård
b0a9ef5aa1
Merge pull request #18794 from hrydgard/more-gameinfocache-fixes
More gameinfocache fixes
2024-01-30 13:58:48 +01:00
Henrik Rydgård
ccaf2446ec
Merge pull request #18793 from hrydgard/render-pass-cleanup
Fix GE framedump playback on Vulkan
2024-01-30 12:42:03 +01:00
Henrik Rydgård
9792453b27 Fix missing titles for some file types 2024-01-30 12:31:56 +01:00
Henrik Rydgård
76242cb9f7 More gameinfocache fixes 2024-01-30 12:27:58 +01:00
Henrik Rydgård
d7e5928b2c Minor tweaks to spacing on savedata popup.
Might help #18762
2024-01-30 11:33:08 +01:00
Henrik Rydgård
ea180e54c9 Fix some "double-binds" of the backbuffer.
These are already eliminated by the queuerunner, but better not to
generate them in the first place, for easier sanity checks.
2024-01-30 10:44:18 +01:00
Henrik Rydgård
69200341a3 More translation fixes 2024-01-29 22:03:49 +01:00
Henrik Rydgård
18ecef1aa5 Fix Refresh interval translation string 2024-01-29 20:13:46 +01:00
Henrik Rydgård
cf1fd714fd
Merge pull request #18786 from hrydgard/release-inputs-on-pause
Release all keys on pause.
2024-01-29 19:21:22 +01:00
Henrik Rydgård
bf8a1684d1 Fix per-game configs, thanks Verymelon 2024-01-29 18:59:15 +01:00
Henrik Rydgård
7920d3a44b Release all keys on pause.
Fixes #18767

Not sure about merging for the 1.17 series though, maybe someone really
likes to bring up the pause menu briefly while holding a direction.. we
could actually handle that with some extra logic.
2024-01-29 18:41:43 +01:00
Henrik Rydgård
04ea4987b0 Bring back the old combo behavior, make the new behavior a checkbox (strict combo order). 2024-01-29 18:06:31 +01:00
Henrik Rydgård
c29f81da36 Fix issue with the collapsible sections in control mapping collapsing on every change. 2024-01-29 17:57:01 +01:00
Henrik Rydgård
aab52859b8 Fix translation issue, some work on sv_SE.ini
see #18778
2024-01-29 11:21:12 +01:00
Henrik Rydgård
ee62ffdb02 Audit our use of condition variables, fix some minor issues 2024-01-29 11:09:08 +01:00
Henrik Rydgård
a93b55c215 Handle icon loading failures better (avoid retrying every frame). 2024-01-29 10:44:46 +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
82f269cd48 GameInfoCache: Properly lock around accesses to the gameinfo map. 2024-01-29 00:54:18 +01:00
Henrik Rydgård
0615ba3e54 Some paranoia and a comment 2024-01-29 00:54:18 +01:00
Henrik Rydgård
e035e0dd38
Merge pull request #18776 from hrydgard/more-translation-fixes
More translation fixes
2024-01-28 21:44:15 +01:00
Henrik Rydgård
8670dafdf5 Fix duplicate in th, fix case of "JIT using IR" 2024-01-28 17:26:26 +01:00
Henrik Rydgård
f9fff4227f
Merge pull request #18775 from hrydgard/gameinfocache-fixes
GameInfoCache: Keep properly track of what's already loaded, lots of cleanup
2024-01-28 17:17:33 +01:00
Henrik Rydgård
4dafe2733c Fix "CPU Core" and "Instance" translation strings 2024-01-28 17:05:36 +01:00
Henrik Rydgård
a5fafb8321 Fix logic, cleanup 2024-01-28 16:56:07 +01:00
Henrik Rydgård
884c366692 Fix some longstanding issues with the GameInfoCache and optimize away double work 2024-01-28 16:23:27 +01:00
Henrik Rydgård
9b3c14a931 GameInfoCache: Break out a couple functions 2024-01-28 14:50:16 +01:00
Henrik Rydgård
7d99b6c1bc Add volume slider for retroachievements 2024-01-28 13:56:46 +01:00
Henrik Rydgård
bcb4d363de Warning fix 2024-01-27 13:58:48 +01:00
Henrik Rydgård
a2e7712126 Crashfix in JIT disassembly UI. Add sanity check in WaitUntil 2024-01-27 13:28:09 +01:00
Henrik Rydgård
026662b027 Missed a file, oops 2024-01-27 13:20:29 +01:00
Henrik Rydgård
a811cbac80 Add proper checks for file type when picking a background image
Should fix some confusion, and also issues picking files from the
Download folder on Android where the filenames we get don't always have
extensions.
2024-01-27 12:03:01 +01:00
Henrik Rydgård
cb89dff10f SDL: Remove unnecessary sleeps in the SDLMain loop (we now handle it in NativeFrame) 2024-01-27 11:30:29 +01:00
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
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
8b282a5d79
Merge pull request #18701 from hrydgard/more-beta-crash-fixes
More beta crash fixes
2024-01-15 18:16:37 +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
d6e1851c5b
Merge pull request #18699 from hrydgard/adrenotools-error-check
Adrenotools driver installation: Fix bad error checks
2024-01-15 12:49:26 +01:00
Henrik Rydgård
775ba0a422 Update lang files 2024-01-15 11:50:48 +01:00
Henrik Rydgård
8faba8426a AdrenoTools: Fix picking zip files from the Downloads folder. Add more validation. 2024-01-15 11:46:41 +01:00
Henrik Rydgård
739f22f721 Add a possibly missing check in EmuScreen 2024-01-15 10:47:16 +01:00
Henrik Rydgård
dc4053095a Add some paranoia checks in the GameDB 2024-01-15 10:47:16 +01:00
Henrik Rydgård
096131db81 Update rcheevos 2024-01-14 13:47:44 +01: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
a8854c9cba Add translation string 2024-01-12 11:30:00 +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
5a7db8aa11 Fix issue with touch control editor with no game running. Fixes #18652 2023-12-31 01:04:14 +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
Henrik Rydgård
4e90d82e23 Fix sceKernelExitGame (regressed with the run-in-background stuff) 2023-12-30 11:58:29 +01:00
Henrik Rydgård
a023dc98f0 Change title of login dialog for RetroAchievements.
Idea by Silent to help password managers.
2023-12-30 11:11:51 +01:00
Henrik Rydgård
9c1fd06c2f Various fixes to PathBrowser etc to handle browsing HTTP subfolders 2023-12-29 21:34:24 +01:00
Henrik Rydgård
679b8330ff Add bindings for toggling mouse control and touch screen controls. Not bound by default.
I think I'll find myself using both of these for testing, feel worthwhile.

Suggested in #18464
2023-12-29 17:40:57 +01:00
Henrik Rydgård
63181374c7 Finish previous commit 2023-12-29 17:24:15 +01:00
Henrik Rydgård
4609df40c9 Update gamepad opacity once per frame, not once per button 2023-12-29 17:09:38 +01:00
Henrik Rydgård
f42e9d94a3 Show the tilt input type directly on the item that goes to the tilt settings 2023-12-29 14:10:03 +01:00