Commit Graph

152 Commits

Author SHA1 Message Date
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
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
315340fc62 Using const reference for C++17 range-based loop and freq used objects 2023-12-13 17:33:01 +01:00
Henrik Rydgård
731d9b6d59 Merge branch 'master' into Font-ltn12-hack 2023-08-17 14:47:46 +02:00
Henrik Rydgård
66d2fb2aa4 Reduce logspam from fonts, and a less angry error message for missing textures.zip. 2023-03-16 23:12:46 +01:00
sum2012
aa047233e1 Add font's logging of requestedStyle 2023-01-28 01:58:52 +08:00
sum2012
ad83a5a201 Add more logging in sceFontFindOptimumFont
Will easier to compare real psp's font
2023-01-26 05:30:47 +08:00
Unknown W. Brackets
7ed238a0b7 Font: Avoid late load on save state.
If they weren't loaded yet, we can stay that way.
2023-01-01 10:25:05 -08:00
sum2012
0e52856faf Merge remote-tracking branch 'upstream/master' into Font-ltn12-hack 2022-10-16 07:27:12 +08:00
Unknown W. Brackets
6fd2940376 Font: Reduce internal font loading IO.
Improves startup for games that load sceFont on devices with slow storage.
2022-10-09 14:42:31 -07:00
Unknown W. Brackets
79c7a91d98 Font: Remove needless ReadStruct(). 2022-09-03 10:44:11 -07:00
sum2012
112951e6bd Fix Earth Saver Plus font 2022-08-14 20:31:45 +08:00
Unknown W. Brackets
f16d6c6011 Font: Correct uninitialized values. 2022-08-13 08:10:46 -07:00
Unknown W. Brackets
10ffdc9f54 Font: Cleanup logging for invalid pointers.
Also fixes some duplicate logging and includes return code/error code.
2021-09-13 08:29:45 -07:00
Unknown W. Brackets
9882f2854a Font: Match stingy selection per test. 2021-08-07 17:55:21 -07:00
Unknown W. Brackets
0772557a49 Font: Limit max references to fonts.
This seems to match the font/open test behavior.
2021-08-07 17:55:21 -07:00
Unknown W. Brackets
cb5954c9e3 Font: Delay only on first open of internal font. 2021-08-07 17:55:21 -07:00
Unknown W. Brackets
323d06bbc2 Font: Reuse alloc when reopening internal fonts.
As shown in the font/open test.
2021-08-07 17:55:21 -07:00
aliaspider
9a3e5879bb Global: Correct many endian types and casts. 2021-02-18 22:25:24 -08:00
Unknown W. Brackets
f32f89dd90 Global: Remove some unused variables. 2021-02-15 11:59:45 -08:00
Henrik Rydgård
ccc0331279 Move timeutil to Common. (Experiment to see how much work it is to move these). 2020-08-15 20:53:08 +02:00
Unknown W. Brackets
b8342fb8ec SaveState: Rename ChunkFile files to Serialize.
Makes more sense and less weird than ChunkFileDoMap, etc.
2020-08-10 08:04:05 +00:00
Unknown W. Brackets
1dc5ee424b SaveState: Split out Do types to reduce headers. 2020-08-10 08:03:44 +00:00
Unknown W. Brackets
4b4e3432cd SaveState: Split Do() into a separate header. 2020-08-10 08:03:41 +00:00
shenweip
d1cafd103c Use the alloc size from real PSP for FONT_OPEN_INTERNAL_STINGY mode. the 2020-07-22 23:47:29 +08:00