Commit Graph

557 Commits

Author SHA1 Message Date
Henrik Rydgård 6bf8d7d1db Memory safety fixes 2025-05-22 11:10:00 +02:00
Henrik Rydgård dbe6ec80a0 Fix some bad "for (auto x : y)" usage 2025-04-29 16:46:14 +02:00
Henrik Rydgård 08d1e0b3d8 Logspam cleanup 2025-04-17 11:06:06 +02:00
Henrik Rydgård 41b77bf1ae More log cleanup 2025-04-14 22:27:51 +02:00
Henrik Rydgård fffbed53bc Add a ZipFileLoader, which can let us load any single-file file type from a zip.
Useful for loading framedumps from github without manually having to
unzip each one, for example.
2025-04-12 22:23:23 +02:00
Henrik Rydgård d5fe826acc Linux buildfix 2025-03-30 15:28:47 +02:00
Henrik Rydgård 05b1cf3b80 Startup cleanup, part 1 2025-03-26 09:24:14 +01:00
Henrik Rydgård 0f840e6240 Move JPEG error codes to the big enum, some include cleanup 2025-03-21 20:44:46 +01:00
Henrik Rydgård ef386ac4c5 Add "GetFileInfoByHandle" function to (many) file systems 2025-03-19 10:42:30 +01:00
Henrik Rydgård 2cc631338b Correctly unload GE framedumps. Additionally, look up the title when possible and show in titlebar. 2025-03-06 14:58:33 +01:00
Henrik Rydgård 3ab625a0fa Windows: Lock when updating the window title 2025-03-06 14:24:40 +01:00
Henrik Rydgård 7e3e944e3b Update GetSecondBufferInfo 2025-03-05 17:02:46 +01:00
Henrik Rydgård c6691de64c Remove excessive error reporting 2025-03-02 02:28:42 +01:00
oltolm f11674b2d6 get rid of more __MINGW32__ ifdefs 2025-01-19 10:33:22 +01:00
Henrik Rydgård 6cae2df12d UWP buildfix 2025-01-02 19:52:51 +01:00
Henrik Rydgård 55aef2afdb Check file systems for case sensitivity. Avoid running un-needed workarounds. 2025-01-02 18:50:55 +01:00
Henrik Rydgård 92e7a28d98 Fix two edge cases in path mapping on scoped storage.
Fixes #19788
2025-01-02 17:41:52 +01:00
Henrik Rydgård c91169e702 Restore removed <algorithm> includes.
Turns out these were needed after all. For some reason, on Windows and
Mac, <algorithm> gets auto-included by something else so I don't notice
when it's missing, and MSVC's include dependency tracker doesn't see it
either.
2024-12-19 09:53:07 +01:00
Henrik Rydgård 3e198c53b2 More include cleanup 2024-12-18 13:57:26 +01:00
Henrik Rydgård 7e194d15e2 For the free-space savedata scan, only scan relevant subdirectories. 2024-11-29 15:34:22 +01:00
Henrik Rydgård b6f648eecc MetaFileSystem: Clean up unused function 2024-11-29 14:13:56 +01:00
Henrik Rydgård 1eadea2589 Show the filesystem types and origins in the list (except ISO) 2024-11-26 00:36:58 +01:00
Henrik Rydgård 47d8e292eb ImDebugger: Add basic filesystem browser. Add partial support for "save file dialogs" to System. 2024-11-25 23:03:15 +01:00
Henrik Rydgård 2e53d2f9f9 NPDRM: Logging cleanup, remove assert (turn into debug assert) 2024-11-01 20:10:23 +01:00
Henrik Rydgård f14551ef33 Logging improvement in NPDRMBlockDevice 2024-10-31 00:38:06 +01:00
Henrik Rydgård bd8905aa44 Avoid crashing on PSX EBOOTs renamed to ISO (people try strange things...) 2024-10-25 15:20:08 +02:00
EssaBoy 1928361085 Optimisation of the smart pointer in PSPLoader and ISOFileSystem 2024-10-18 23:56:57 +02: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 662b0847c9 Assert instead of crashing if demo ISO decryption fails 2024-10-10 14:56:20 +02:00
Henrik Rydgård 9952c42426 Use message IDs to avoid some repetition of notifications.
Also fixes some awkward English.
2024-09-24 14:02:17 +02:00
Henrik Rydgård b1fae3ccda Add two missing mutex-locks in MetaFileSystem.
See #19272
2024-09-17 00:19:58 +02:00
Henrik Rydgård d331e80542 sceIoGetStat: Fix retrieving timestamps from directories 2024-07-18 13:37:32 +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 aa94867128 Warning fixes 2024-05-20 10:04:11 +02:00
Henrik Rydgård fc1d984b20 Update rcheevos, switch back to upstream. Avoid using rcheevos' hash.c, by computing game hashes ourselves. 2024-04-03 16:43:34 +02:00
Henrik Rydgård 3d2a0b931a Merge pull request #18931 from hrydgard/chd-hunk-size-fix
CHD: Fix unnecessary reloads of "hunks" during large reads
2024-03-16 22:01:26 +01:00
Henrik Rydgård d284ad4496 Remove warning for bad CHDs 2024-03-16 20:52:21 +01:00
Henrik Rydgård dad579615b CHD support: Fix accidental hunk re-reads with large chunks. 2024-03-16 20:38:23 +01:00
Henrik Rydgård 55974f61ad Fix a bunch of cases where we forgot to check for chd files 2024-03-13 09:31:31 +01:00
rofl0r 55ae3b1c3e FS: fix crash overreading data on flash0
noticed while using intrafont with some homebrew code.
when using musl libc's hardened malloc, the overread in the
code caused PPSSPP to segfault.
2024-02-26 17:17:33 +00: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 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 ce5f157040 More paranoia 2024-01-31 10:48:35 +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 00f53ad767 Handle file type detection of extracted ISO directories better. Reported by Nemoumbra. 2024-01-12 15:37:53 +01: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 e3177ac870 Make some global string pointers const, not just the strings.
Minor cleanup.
2023-12-29 14:09:45 +01:00
Henrik Rydgård 7d114eb29b Remote ISO: Add working support for streaming CHD files over the network 2023-12-29 13:34:22 +01:00
Henrik Rydgård a416d94e38 CHD over http wasn't actually working, disable again until it can be fixed 2023-12-29 12:19:06 +01:00