Commit graph

534 commits

Author SHA1 Message Date
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
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
b871e76d05 [Core/Debugger/FileLoaders/FileSystems/MIPS] Using reserve if possible 2023-12-15 13:59:19 +03:00
Herman Semenov
af41281761 [Core/Dialog/ELF/FileSystems/HLE/HW/Util] Added const reference for function params 2023-12-14 14:22:24 +03:00
Henrik Rydgård
5a972be7ef Fix the display of uncompressed size of things that aren't ISO and CSO 2023-12-02 23:41:20 +01:00
sum2012
d0fced8ef1 Update Directory for DJmax 2023-11-22 21:33:18 +08:00
Henrik Rydgård
93c0ef68b6 Add progress bar to CRC calculation 2023-10-28 06:50:57 -05:00
Henrik Rydgård
87ddb3f3b1 Add easy way to verify games against the Redump database, supplied as CSV. 2023-10-23 19:11:01 -05:00
Henrik Rydgård
bb33a43d54 Remove superfluous chd_read_header (until we add parent/child chd support) 2023-09-29 11:05:48 +02:00
Henrik Rydgård
64d92c9aa0 Use OpenCFile, for future Android compatibility for chd 2023-09-29 10:16:45 +02:00
Henrik Rydgård
ade64171ce Proof-of-concept: libchdr works on Windows 2023-09-29 10:05:19 +02:00
Henrik Rydgård
546f9d7743 Some cleanups and fixes to obscure crashes 2023-09-24 13:05:25 +02:00
Henrik Rydgård
1025bbcf89 Log level/type: Use enum class instead of the awkward namespace trick.
Just a small cleanup I've wanted to do for a long time.
2023-08-25 11:48:59 +02:00
Henrik Rydgård
63144340f5 First-boot memstick screen: Attempt to fix some logic holes
This handles some cases better that I don't really see how they can
happen, but who knows. Intended to help #17683
2023-07-12 11:29:24 +02:00
Henrik Rydgård
a920b6100c Improve logging about corrupt ISOs 2023-07-12 10:22:53 +02:00
Henrik Rydgård
eb21a2e6c9 Break out the OSD data holder from Common/System/System.h, into OSD.cpp/h 2023-06-30 17:15:49 +02:00
Henrik Rydgård
266b85d22d Support for extra text in OSD messages (drawn smaller, on darker background) 2023-06-21 01:16:25 +02:00
Henrik Rydgård
7cc8c6cea4 OSD: Add semantics, move the the OSD state to common (while keeping the renderer in the UI). 2023-06-20 14:40:46 +02:00
Henrik Rydgård
c5e0dafa44 Fix "double delay" error in sceNpDrmEdataSetupKey 2023-05-25 10:02:52 +02:00
Henrik Rydgård
923442ed4c Make the DJ Max workaround more aggressive about hiding stuff.
May help #17463
2023-05-16 18:24:59 +02:00
Henrik Rydgård
942021e5cd VirtualDiscFileSystem: Fix out-of-range array read in fileList 2023-05-04 23:47:46 +02:00
psykose
ea0d5a2abc FileSystem: add missing <cstdint> header
needed for sized intXX_t types, fixes the build against gcc13
2023-05-01 04:26:42 +02:00
Henrik Rydgård
ee6234ecb6 I18N: Switch to getting categories by index instead of by string lookup
Also gets rid of the shared_ptr usage, and generally makes things nicer.

Needed for later config refactorings, good to get in early.
2023-04-07 10:35:01 +02:00
Henrik Rydgård
f1165bd2ae
Merge pull request #17225 from unknownbrackets/savestate-minor
SaveState: Attempt to recover from missing files
2023-04-02 21:38:54 +02:00