276 Commits

Author SHA1 Message Date
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
Henrik Rydgård e842d395fa Add untested function Android_ComputeRecursiveDirectorySize 2021-09-11 18:11:53 +02:00
Henrik Rydgård 369ae031de Optimize install data size calculation. 2021-09-11 15:13:37 +02:00
Henrik Rydgård 830d205839 Optimize savedata size calculation 2021-09-11 15:11:56 +02:00
Henrik Rydgård 43ba908225 Propagate errors from file identification upwards better. 2021-08-07 11:54:45 +02:00
Henrik Rydgård 81f0c3a8e4 Address feedback (except the mailbox refcount) 2021-06-13 10:16:53 +02:00
Henrik Rydgård b42e49d49d Kill the pesky goto 2021-06-12 22:16:03 +02:00
Henrik Rydgård 5b64a41a97 ParallelLoop: A bit smarter straggler handling. 2021-06-12 22:04:55 +02:00
Henrik Rydgård 0fa27ff9d7 Autodetect number of threads (remove setting). Fix some bugs. 2021-06-12 21:06:59 +02:00
Henrik Rydgård 446c2c027e Get rid of the PrioritizedWorkQueue. Instead just queue tasks on the ThreadManager. 2021-06-12 13:03:53 +02:00
Unknown W. Brackets a097403298 Common: Remove File::GetFilename(). 2021-05-14 23:08:31 -07:00
Unknown W. Brackets b74ecd5fa0 SaveState: Use Path instead of strings. 2021-05-14 23:00:22 -07:00
Unknown W. Brackets 8db4277e6c UI: Correct fallback to screenshots for icons. 2021-05-14 22:48:48 -07:00
Unknown W. Brackets d376e67f87 Common: Cleanup some Path constructions. 2021-05-14 22:48:04 -07:00