Commit Graph

234 Commits

Author SHA1 Message Date
Henrik Rydgård
59a56d66c7 Add a "reason" argument to sleep_ms().
sleep_ms() should generally be avoided when possible. This can be used to try
to track down unnecessary sleeps by adding some logging.

This commit on its own doesn't actually add any logging.
2024-11-21 15:28:51 +01:00
Henrik Rydgård
e93427c433 CPU_Init: Bail out earlier if we fail to identify a file. 2024-10-31 23:56:36 +01:00
Henrik Rydgård
c30ec47937 ZipFileReader: Better implementation of Rewind 2024-10-28 17:02:03 +01:00
Henrik Rydgård
8a5be21140 MemStick screen: Call free_disk_space from async tasks
See #19522
2024-10-11 13:45:43 +02:00
Henrik Rydgård
e51c58716b Fix minor code issues flagged by PVS-Studio and reported by alphrixus. 2024-10-10 14:10:30 +02:00
Herman Semenov
45429bcd85 [Common/Data/File/Input/Net/Serialize/System/UI] Using for based loop C++17 and replaced on structured binding map C++17 2024-09-17 17:42:08 +02:00
Henrik Rydgård
2ba4eaf3dd First part of the const changes etc 2024-09-17 15:13:13 +02:00
Henrik Rydgård
99a65f3a0a Implement the fallback path from OpenGL to Vulkan 2024-09-16 12:34:37 +02:00
Henrik Rydgård
10d3b253a4 More InstallZip refactoring, add options for install directory where applicable 2024-09-10 13:55:12 +02:00
Henrik Rydgård
d47c05f4a1 Android memstick folder move: Minor logging and robustness improvements 2024-09-09 17:47:21 +02:00
Henrik Rydgård
ce4f8ba6f4 Buildfix 2024-09-07 15:58:15 +02:00
Henrik Rydgård
f38cc4a959 Add some prototype UI for overwriting saves 2024-09-05 20:52:12 +02:00
Henrik Rydgård
e01ca5b057
Logging API change (refactor) (#19324)
* Rename LogType to Log

* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.

* Mac/ARM64 buildfix

* Do the same with the hle result log macros

* Rename the log names to mixed case while at it.

* iOS buildfix

* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Henrik Rydgård
b85890c37b Rewrite GetFriendlyPath to not crash and work in more situations 2024-05-31 20:41:03 +02:00
Henrik Rydgård
606a895985 iOS: Update recents paths on load
Fixes the main part of #19211
2024-05-29 10:12:20 +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
1ff7710854 Folder/file browser tweaks 2024-05-20 10:04:11 +02:00
Henrik Rydgård
ae1ee41eb0 Add functionality to limit a pathbrowser to a specific root 2024-05-03 17:54:57 +02:00
Herman Semenov
c20cb3f4be Minor optimize methods std::string using param as char with simpler implementation 2024-04-10 17:57:05 +03: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
ee62ffdb02 Audit our use of condition variables, fix some minor issues 2024-01-29 11:09:08 +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
0170e8f081 Logging updates 2024-01-29 00:54:24 +01:00
Henrik Rydgård
9218efd286 Improve the file size check when reading text files 2024-01-25 12:34:19 +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
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
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
f73d0587d4 Comments, make locking more consistent in GameInfoCache 2024-01-19 14:56:29 +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
0fc3e2b777 Add string_view support to more UTF functions 2024-01-12 14:03:02 +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
755b2a2535 Fix check for navigating upwards from http Paths 2023-12-29 00:40:16 +01:00
Henrik Rydgård
cd00d06842 Add reload button to GameBrowser. Fix assert if game load failed 2023-12-29 00:18:04 +01:00
Henrik Rydgård
28143697b6 Fix regression from #18581 2023-12-20 18:26:27 +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
Herman Semenov
4ea842a3c1 Minor replaced insert to emplace C++11 2023-12-19 16:06:48 +03:00
Herman Semenov
b8748ae9e5 [Common/File/GPU/Render/Input] Using reserve if possible 2023-12-15 14:00:51 +03:00
Henrik Rydgård
969cb8ac18 Driver choice: Add error message for wrong file type 2023-12-14 16:26:12 +01:00
Dzmitry Dubrova
a461800973 Implement custom driver loading for ARM64 Android devices 2023-12-14 08:53:03 +03:00
Henrik Rydgård
d234fa24e6 Add progress bar (without %) to install/uninstall. Other fixes. 2023-12-08 16:16:28 +01:00
Henrik Rydgård
19eeaef2ea More uses of string_view 2023-11-13 23:36:34 +01:00
Henrik Rydgård
d0ee5fc308 Path: Use string_view more to avoid allocations 2023-11-13 23:24:42 +01:00
Henrik Rydgård
6357b95ff5 Better version. 2023-10-12 23:33:54 +02:00
Henrik Rydgård
755648c997 Don't use std::move in dirlisting, see #18192 2023-09-22 10:09:10 +02:00
German Semenov
c27481d637 GPU, VFS, UI: Fixed minor memleaks 2023-09-15 12:23:54 +03:00
Bashar Astifan
07c119a80c Merge branch 'master' of https://github.com/hrydgard/ppsspp 2023-08-14 02:45:28 +04:00
Henrik Rydgård
a84cb357dc Comment fixes, adjust a couple of sleeps 2023-08-13 17:57:46 +02:00
Henrik Rydgård
9df91aed37 OpenCFile: Fix Android content-uri append mode 2023-08-02 14:00:57 +02:00