193 Commits

Author SHA1 Message Date
Henrik Rydgård
4582ee692a More logging changes 2024-07-16 22:04:41 +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
Unknown W. Brackets
624d5a38e7 Savedata: Fix gamedata install shutdown status.
This is the only one that returns non-errors when the dialog is disabled.
2023-10-15 10:36:27 -07:00
Unknown W. Brackets
0a4f1dc49b Thread: Reduce thread stop freeing on shutdown.
Seeing errors for helper threads not existing, so let's try skipping
delete on shutdown.  They already get freed anyway.
2023-09-30 16:52:01 -07:00
Henrik Rydgård
eb14c87a71 Allow configuring the game language separately from the PPSSPP UI language, with a new setting. 2023-07-23 11:30:04 +02:00
Henrik Rydgård
78f3d450ff Eat some CPU cycles in sceUtilityOskUpdate. Works around timing bug in Ghost Recon Predator.
The bug is in the game, it uses the wrong vblank wait, but it only works
because the dialog processing takes so much time that it misses the
vblank period anyway.

Fixes #12044, and hopefully won't break anything else.
2023-02-14 20:14:49 +01:00
Henrik Rydgård
e1a48d74c4 A bit more GetPointer cleanup.
Probably not worth it for performance reasons, but some semantic cleanup
is good, especially the accidental GetPointer -> writable casts without
using GetPointerWrite.

Using Unchecked on already checked pointers, or when we'd crash anyway
if it returned nullptr, is good for clarity.
2023-01-10 12:13:47 +01:00
Unknown W. Brackets
ef04c4f55c Utility: Report YugiohSaveFix usage. 2022-12-19 07:56:23 -08:00
Henrik Rydgård
21647cd3c1 Blind workaround for Shining Ark circle button problem
Seems the game might not handle the case of confirm button being set to
cross properly, so force it to circle if this game is running.

Fixes #15663 (hopefully..)
2022-11-27 23:32:43 +01:00
Henrik Rydgård
9482578fbb Twinbee Portable: Add config flag to avoid the system languages the game doesn't work with 2022-11-13 23:37:56 +01:00
Unknown W. Brackets
7f87cd077a Jpeg: Play it safe with load/unload handling. 2022-10-07 00:24:19 -07:00
Unknown W. Brackets
f0afc97247 Gamedata: Cleanup install request args/validate. 2022-09-18 20:39:13 -07:00
ANR2ME
dcf3ece8f4 Implement NP Signin Dialog (faked signin) 2022-08-04 16:12:25 +07:00
ANR2ME
3bb83f03bd Partially fixes SenseMe app (will need HTTP/HTTPS support to be fully working) 2022-04-27 14:28:28 +07:00
Unknown W. Brackets
63e623ecb2 Build: Fix some format truncation warnings.
Generally all should be safe already, but better to be sure.
2021-12-11 10:45:27 -08:00
Unknown W. Brackets
24f1dcec98 Dialog: Allow termination of access thread at ret.
Sometimes the thread is just sitting at return, but hasn't stopped quite
yet.  Allow deleting the thread in this case without modifying volatile
lock status.
2021-09-16 08:57:20 -07:00
Unknown W. Brackets
570d84fb86 Dialog: Try to recover on double init, report.
This shouldn't be happening, but is - see #14864.
Let's report the situation and try to avoid a complete crash.
2021-09-15 21:06:12 -07:00
Henrik Rydgård
ed3201a27f Merge pull request #14730 from unknownbrackets/savedata-shutdown
Dialog: Prevent reschedule on shutdown start
2021-08-15 10:04:34 +02:00
Unknown W. Brackets
04828e886b Dialog: Lock volatile when the access thread runs.
Further tests show that this should be locked first thing before the
delays, it just depends on the thread priorities involved.
2021-08-14 20:55:10 -07:00
Unknown W. Brackets
f530be0969 Dialog: Prevent reschedule on shutdown start.
This is a bit strange, but tests seem to suggest this is correct.
A worse priority thread won't run before savedata shutdown hits 0, but the
thread that initiated shutdown runs before shutdown completes.

Fixes Freakout Extreme Freeride loading savedata.
2021-08-14 20:15:34 -07:00
Unknown W. Brackets
aecb138f90 Dialog: Avoid crash with hacked dialog start.
See #14727.  If a dialog shutdown is in progress and we incorrectly allow
a startup at that time, it breaks other things.  This tries to at least
work around that.
2021-08-14 07:46:38 -07:00
Unknown W. Brackets
c3da85234c Savedata: Eat less cycles in savedata init.
Other threads do get scheduled more, but I'm not sure what factors this is
based off of.  Hoping this helps #14382.
2021-04-25 18:38:30 -07:00
Unknown W. Brackets
4128b5c6e6 Dialog: Reset last status more consistently.
This is only used to reduce log spam.
2021-04-07 21:22:31 -07:00
Unknown W. Brackets
90f4098b3d Dialog: Lock volatile on thread.
This means it doesn't matter if GetStatus is called.
2021-04-07 18:13:51 -07:00
Unknown W. Brackets
429b4594d0 Dialog: Use a thread to init dialogs too. 2021-04-07 18:13:46 -07:00