242 Commits

Author SHA1 Message Date
Henrik Rydgård
5c1eaf1933 Faster savedata deletion 2024-11-30 02:44:01 +01:00
Henrik Rydgård
f60e66b186 GameInfoCache: Use directory prefix filtering to speed things up.
Probably not much improvement in practice.
2024-11-29 11:14:52 +01:00
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
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