Commit Graph

239 Commits

Author SHA1 Message Date
Henrik Rydgård
8fbe46ab9e Prevent soft-locking the emulator on invalid PBP files, or crashes in some cases. 2024-10-03 18:38:54 +02:00
Henrik Rydgård
8186f14a57 Much more UI work on savedata import
fix
2024-09-07 15:28:57 +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
ecdc7940f4 Android: Fix issue where shortcuts wouldn't override the currently running game. 2024-05-14 00:02:59 +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
Henrik Rydgård
68c192b892 Fix some symbol clashes apparently affecting the docker build 2024-04-13 01:06:18 +02:00
Herman Semenov
9e126b5f00 Fixed possible accidental conversion memsize type to strict 32 bit 2024-04-02 19:03:12 +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
9322b4c6dc Warning fix, some paranoid zero init 2024-02-12 18:33:38 +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
c7ed87b352 Assorted paranoia and improved checks 2024-01-31 10:22: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
bf8a1684d1 Fix per-game configs, thanks Verymelon 2024-01-29 18:59:15 +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
82f269cd48 GameInfoCache: Properly lock around accesses to the gameinfo map. 2024-01-29 00:54:18 +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
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
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
bd388fc094 Add some comments and logging 2024-01-22 11:55:42 +01:00
Henrik Rydgård
53cfecf8fa Remove superfluous error message 2024-01-20 23:11:42 +01:00
Henrik Rydgård
f73d0587d4 Comments, make locking more consistent in GameInfoCache 2024-01-19 14:56:29 +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
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
00f53ad767 Handle file type detection of extracted ISO directories better. Reported by Nemoumbra. 2024-01-12 15:37:53 +01:00
Henrik Rydgård
2aca8fe3f9 Get rid of more unnecessary uses of ManagedTexture 2023-12-12 23:13:45 +01:00
Henrik Rydgård
75e96df448 Don't use ManagedTexture in GameInfoCache, not needed. 2023-12-12 22:34:31 +01:00
Henrik Rydgård
82bdc9ec50 Add CreateTextureFromFileData (without ManagedTexture) 2023-12-12 22:24:13 +01:00
Henrik Rydgård
d2e10a058e Some renaming 2023-12-12 22:15:55 +01:00
Henrik Rydgård
a22450320b Some minor changes and comments after memory profiling 2023-12-08 12:22:12 +01: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
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
04351a18f6 Address feedback 2023-07-16 00:20:09 +02:00
Henrik Rydgård
667abd0a48 GameInfoCache: Some fixes for the icon loaded flag.
Not really important but why not. Extracted from #17646
2023-07-02 17:18:13 +02:00
Henrik Rydgård
6a51b6f7bf Quick attempt to add some thread safety to GameInfo::fileLoader. 2023-05-04 09:20:05 +02:00
Henrik Rydgård
a132b72ba1 Paranoia 2023-05-04 01:24:31 +02:00
Henrik Rydgård
3b39e9e068 Turn the VFS into a class, to be able to reuse it for other purposes. 2023-03-06 16:42:47 +01:00
Unknown W. Brackets
88ba003f46 ThreadManager: Add a simple priority field.
Currently, not actually respected.
2023-02-02 17:08:24 -08:00
Unknown W. Brackets
f44852bb18 Global: Cleanup virtual/override specifiers.
Also missing virtual destructors, hidden non-overrides, etc.
2022-12-10 21:13:36 -08:00
Henrik Rydgård
ec6d330ae4 Move AsyncImageFileView to Common, which required some more shuffling around of stuff. 2022-11-21 20:38:20 +01:00
Henrik Rydgård
d4dedeeeb8 Detect ISO files from file contents if extensions are wrong.
On older Android versions (that still support Android Storage
Framework), filenames are not always preserved in Content URIs, they can
look like .../msf:342 and things like that. So identify a few more file
types by content if filename identification fails.
2022-04-30 17:47:17 +02:00
Henrik Rydgård
6de574104c Avoid creating a fileloader during shutdown.
Some silliness I found while investigating using SuperLuminal.
2022-04-12 00:16:13 +02:00
Unknown W. Brackets
d7e71543f7 UI: Use comparison screenshot as frame dump icon.
This makes it easier to tell a big list apart.
2022-01-08 16:12:48 -08:00
Unknown W. Brackets
3e73ce87ee Path: Check for PSP case insensitively.
This allows a game to look up ms0:/psp/ eve with the PSP special case path
handling.
2021-12-16 15:06:15 -08:00
Unknown W. Brackets
8b5173350f ThreadManager: Make TaskType a property of a Task. 2021-12-05 21:01:49 -08:00
Henrik Rydgård
fcc0337576 Fix the Android recursive size computation and hook it up. 2021-09-11 18:12:30 +02:00