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
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
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
Unknown W. Brackets
e6b42f3921
SaveState: Prevent edge case on old save state.
...
If we load an old save state and it errors, could crash.
2020-06-29 19:40:54 -07:00
Unknown W. Brackets
54e1afda1e
HLE: Make calling mips funcs simpler.
...
This makes their return value handling, scheduling, etc. more
straight-forward.
2020-03-22 06:59:43 -07:00
Henrik Rydgård
0d2acb6d73
Merge pull request #12740 from unknownbrackets/font-minor
...
Font: Prevent crash on game exit
2020-03-21 23:11:34 +01:00
Unknown W. Brackets
000a166dba
Font: Prevent crash on game exit.
...
We should not try to call __KernelDirectMipsCall() on shutdown.
2020-03-21 12:36:09 -07:00
shenweip
fc55d2b81b
Correcting return value of some mipscalls without after action.
2020-03-18 16:58:07 +08:00
shenweip
a286c657e3
Reset the useAllocCallbacks on font init.
2020-03-16 10:54:46 +08:00
shenweip
cefecb12b7
Buildfix.
...
Buildfix2.
2020-03-16 10:22:09 +08:00
shenweip
c7db6b6466
Merge branch 'master' into Font-alloc/free
2020-03-16 08:16:50 +08:00
shenweip
ac56a8e93a
Fix states.
2020-03-16 07:54:42 +08:00
shenweip
2f088d0970
No need to manually decide pending or not for mipscalls.
2020-03-16 07:46:13 +08:00
Unknown W. Brackets
7d36b70a8e
Kernel: Rename conflicting kernel object names.
...
These are names that can often conflict with system headers in ports.
Let's just simplify by prefixing with PSP.
No actual functional/code changes, just syntax and names.
2020-03-15 08:33:40 -07:00
shenweip
3ffb20b66b
Font:alloc/free memory for font file and char bitmap.
...
Following the guide of JPCSP.
2020-03-15 23:05:28 +08:00
Henrik Rydgård
7865589f48
sceFontLib: Don't call the callback if double-free. Should fix one part of #6627
2019-03-11 12:55:09 +01:00
Unknown W. Brackets
9655013938
Font: Skip log on missing zh_gb.pgf.
...
Fixes #8332 .
2016-08-07 10:27:27 -07:00
sum2012
da8188ab7d
Add more check for safely
2016-08-06 06:52:48 +08:00
sum2012
390ecb3184
Better support zh_gb.pgf
2016-08-05 19:58:31 +08:00
tpunix
6672534f49
bugfix of scefont
...
charCode should be limit to 16bit
see issue #8131
2015-11-01 21:11:31 +08:00
Unknown W. Brackets
e2ecd1eabd
Add memchecks for ReadStruct/WriteStruct.
2015-04-05 18:09:35 -07:00
Unknown W. Brackets
67d9233de1
Fix some compiler warnings.
...
Oops, f format in hle logging wasn't working right. See #7641 .
2015-03-28 20:50:34 -07:00
Unknown W. Brackets
fcf0518223
Update all the HLE tables with arg and ret info.
2015-03-22 20:51:55 -07:00
Henrik Rydgard
3d012f2679
One more stack clearing value in sceFont
2015-03-05 12:26:21 +01:00
Henrik Rydgard
3e408047d3
Use unknown's measured stack clearing amounts in sceLibFont
2015-03-05 10:36:03 +01:00
Henrik Rydgard
fd1dcb881f
Add ability to flag function to clear a bit of stack. See #6374 , idea by JPCSP, pointed out by sum2012.
2015-03-02 01:03:12 +01:00
Unknown W. Brackets
0a8e6c2a06
Remove some unused functions.
2014-12-14 17:35:20 -08:00
Lioncash
cac632424c
Core: Add missing override specifiers
2014-12-08 15:20:31 -05:00
Lioncash
4ccb838306
Core: Mark some module functions as static
2014-12-08 04:40:08 -05:00
Lioncash
f830d5dec7
Core: Mark some functions as const
2014-12-03 15:16:11 -05:00
Unknown W. Brackets
ad191cdd3a
Correct error codes in sceFontOpenUserMemory().
2014-09-26 23:44:36 -07:00
Unknown W. Brackets
1d4bd6c695
Add a delay for creating fontlibs and fonts.
...
Matches tests, low bound on the delay.
2014-09-26 23:44:04 -07:00
sum2012
6024fe7e13
Don't need duplicate the whole table
2014-08-15 23:30:51 +08:00
sum2012
9f4efaf142
Add sceLibFttt
...
Same as sceFont
2014-08-15 22:42:08 +08:00