Commit Graph
5353 Commits
Author SHA1 Message Date
Henrik Rydgård 1f129b6dca Replace "ReadFileToString" with a few semantically clearer wrappers. 2024-01-25 09:55:54 +01:00
Henrik Rydgård 22e91c98db More asserts 2024-01-24 11:36:25 +01:00
Henrik Rydgård 39cf5b5c30 Add more asserts to check the state of the render manager 2024-01-24 09:46:55 +01:00
Henrik Rydgård 0d2e5c32ab More sanity checks 2024-01-24 00:50:32 +01:00
Henrik Rydgård d260cd0498 Some sanity checks. 2024-01-24 00:23:08 +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årdandGitHub 17ff605af5 Merge pull request #18750 from hrydgard/more-minor-fixes
More minor fixes
2024-01-23 11:51:22 +01:00
Henrik Rydgård 51097279c9 Vulkan: Fix race condition when changing MSAA mode with the game running "behind" the menu. 2024-01-23 11:28:45 +01:00
Henrik Rydgård deffbea75f HTTPClient: Fix socket leak on connect failure 2024-01-23 11:05:03 +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årdandGitHub f347e8494f Merge pull request #18740 from hrydgard/store-improvements
Store improvements
2024-01-22 12:18:07 +01:00
Henrik Rydgård 902eed59bb Android: Make use of the (spooky) fact that Android_RemoveFile deletes recursively. 2024-01-22 11:55:38 +01:00
Henrik Rydgård 1935dd3f4c Just move DeleteDir next to DeleteDirRecursive 2024-01-22 11:54:41 +01:00
Henrik Rydgård d502929cb2 Minor cleanup 2024-01-22 11:19:09 +01:00
Henrik Rydgård 0bf7a98aff Replace DrainAndBlockCompileThreads with StopThreads, and same for resuming. 2024-01-22 11:06:50 +01:00
Henrik Rydgård 0e708367b5 Remove compileBlocked_ flag 2024-01-22 10:52:01 +01:00
Henrik Rydgård 6b5a4e3ba9 VulkanRenderManager: Move and rename some stuff to make the next change clearer 2024-01-22 10:50:07 +01:00
Henrik Rydgård 2d9afaa6df Android: Add code for "show folder", don't activate it since it's not reliable (need a query on startup) 2024-01-21 13:35:59 +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 1553931163 SDL: Add more fallback font names, greatly speed up fallback font handling 2024-01-20 11:22:05 +01:00
Henrik Rydgård 2007621ec3 Add "Droid Sans Fallback" to the list of fallback fonts.
This can be easily installed on apt based distros using:

sudo apt install fonts-droid-fallback

And provides all the characters we need.
2024-01-19 22:53:16 +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 ff0a9f2417 Remove allocation on translation key lookup 2024-01-19 14:11:18 +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 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 531f145e0b Fix NEON compilation error on strict compilers. Fixes #18688 2024-01-18 10:38:30 +01:00
Henrik Rydgård ce2163eb93 Vulkan MSAA: Avoid creating backbuffer renderpasses with the wrong sample count, oops 2024-01-17 21:41:04 +01:00
Henrik Rydgård b5496851dc Vulkan: Semaphore-per-frame seems to be the way to go, according to the new validation layers. 2024-01-17 21:34:31 +01:00
Henrik RydgårdandGitHub 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 2b6bb46a98 Vulkan: Minor descriptor write optimization, add some debug asserts 2024-01-17 11:08:16 +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 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 7b738edfc9 Try to eliminate another shutdown deadlock (drain shader compile queue)
See #18705
2024-01-15 23:36:47 +01:00
Henrik RydgårdandGitHub 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 a49073c6cd Remove debug logging 2024-01-15 17:38:17 +01:00
Henrik Rydgård c1a7235767 Fix another shutdown race condition in the Vulkan backend 2024-01-15 17:06:00 +01:00
Henrik RydgårdandGitHub 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 d0faf250b5 Remove unused async compute pipeline creation 2024-01-15 12:38:59 +01:00
Henrik RydgårdandGitHub 15db280358 Merge pull request #18698 from hrydgard/beta-crash-fixes
Beta crash fixes 1
2024-01-15 11:57:41 +01:00
Henrik RydgårdandGitHub 5267ffcad6 Merge pull request #18697 from hrydgard/utf8-feedback
Address feedback on Utf8.cpp changes
2024-01-15 11:57:18 +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 0caebbfaa6 Add a way to pass out error messages from VulkanLoad 2024-01-15 11:22:33 +01:00
Henrik Rydgård 56c797e7f6 Fix possible hangs in ManagedTexture destruction. Change a thread name. 2024-01-15 10:47:16 +01:00
Henrik Rydgård 3e078abbaf Restore nul check in u8_nextchar 2024-01-15 10:45:19 +01:00