Commit Graph

49 Commits

Author SHA1 Message Date
Unknown W. Brackets
ded3fb5e12 Add reporting to a bunch of unimpl functions.
Also some comment/logging fixes along the way.
2013-05-19 22:12:37 -07:00
Unknown W. Brackets
7dade9416c Correctly call alloc/free font callbacks. 2013-05-10 22:06:50 -07:00
Unknown W. Brackets
7741376a38 Check a potential crash in sceFontOpen(). 2013-05-05 21:29:41 -07:00
Unknown W. Brackets
f9e4739c64 Clean up error codes in sceFontGetCharGlyphImage(). 2013-05-05 21:21:58 -07:00
Unknown W. Brackets
95823a776b Don't pass quite so many args to DrawCharacter(). 2013-05-05 21:13:50 -07:00
Unknown W. Brackets
4ab165ebd7 Simplify the font code a tiny bit. 2013-05-05 21:02:13 -07:00
Unknown W. Brackets
5ffb7f7d23 Correct error handling in sceFontGet*Info().
And tone down the logging a bit.
2013-05-05 20:58:52 -07:00
Unknown W. Brackets
9948da9a21 Buildfix for everything.
Oops.
2013-05-05 17:46:16 -07:00
Unknown W. Brackets
75a2f9bc06 Improve font matching in sceFontFindOptimumFont(). 2013-05-05 12:53:35 -07:00
Unknown W. Brackets
832edb0a8f Fix some x64 type conversion warnings. 2013-04-05 20:29:20 -07:00
Unknown W. Brackets
339b2839b3 Finish implementing savestates for fonts.
Oops, missed this before.  Was crashing FF3 and games using custom fonts.
2013-03-20 23:37:57 -07:00
Henrik Rydgard
1f5b6b7f59 Logging changes and cleanup 2013-03-15 21:01:57 +01:00
Unknown W. Brackets
ab66aa4c45 Fix a shutdown crash with close fonts. 2013-03-09 00:54:16 -08:00
Unknown W. Brackets
f3a10fb4c3 Correct arguments to font alloc function. 2013-03-09 00:51:49 -08:00
oioitff
85fb494ee7 Not to show charCode with "%c"
. Because it may have bad affect when we are not using English font.
2013-03-08 16:11:53 +08:00
Henrik Rydgard
a972d211c5 Call __LoadInternalFonts in __FontDoState to be safe. 2013-03-06 23:42:55 +01:00
Henrik Rydgard
43df3c9071 Lazy font loading (to speed up running unit tests...) 2013-03-06 22:26:54 +01:00
Unknown W. Brackets
2d5f647579 And savestate the rest of fonts. 2013-03-03 15:59:00 -08:00
Unknown W. Brackets
affcdfabd5 Reference fontlibs indirectly for savestates.
Well, not pretty, but much easier to savestate.
2013-03-03 15:58:59 -08:00
Henrik Rydgard
f72f471370 Hack around font problem that caused Dissidia to crash with fastmem (calling the supplied alloc fails). 2013-03-03 14:29:03 +01:00
oioitff
9d49a24924 use vector instead of Memory read/write
, becasue Memory read/write works incorrectly here...
2013-03-03 17:22:50 +08:00
oioitff
7d08dfac70 break after find optimum font 2013-03-03 17:14:12 +08:00
Unknown W. Brackets
a3f93ed203 Fix some printf size warnings, signed warnings. 2013-03-02 15:34:15 -08:00
Unknown W. Brackets
4249e0f6a8 Fix shutdown crash when there are open fonts. 2013-02-28 08:33:30 -08:00
Unknown W. Brackets
128d181558 Fix crash in sceFontClose().
Still some other issues but Fieldrunners now plays again with
tons of errors showing.
2013-02-28 08:27:05 -08:00
Unknown W. Brackets
a44e7e6d52 Buildfixes for Mac. 2013-02-28 08:07:33 -08:00
raven02
e319e2a7c2 Minor fix 2013-02-28 23:04:40 +08:00
raven02
50be9102e4 Fix crash when font sets not exists 2013-02-28 22:50:14 +08:00
raven02
127ee5d30f Create flash0:/font/ if not exists 2013-02-28 22:36:57 +08:00
Henrik Rydgard
aa06c1452e Allow mounting VFS directories. Used to provide flash0 from within APK on Android. 2013-02-27 17:41:40 +01:00
Henrik Rydgard
ba0362d817 PGF font support. Mostly an adaptation and cleanup of JPCSP's font system. 2013-02-27 17:41:39 +01:00
Henrik Rydgard
ca23c076a1 Minor sceFont fixes 2013-02-13 00:50:26 +01:00
vakko
e2a8095293 implement some stuff 2013-02-04 21:22:16 +02:00
Unknown W. Brackets
2a6457b6ab Cut down on h files including PointerWrap.
This makes changes to it a bit faster to build.
2013-02-04 08:26:59 -08:00
TMaul
dba01cb78e Re tabify 2013-01-02 20:33:12 +00:00
TMaul
1210efa51a Fix mess in sceFont 2013-01-02 20:28:12 +00:00
TMaul
f956044d6c messing with the font init
Still can't see why it never renders...
2013-01-02 20:28:12 +00:00
Unknown W. Brackets
daa31bb02d Fix fake sceFontGetCharGlyphImage() overflowing. 2012-12-31 21:46:41 -08:00
Unknown W. Brackets
cd1d4367bf Save state of a bunch of small modules. 2012-12-28 13:55:28 -08:00
TMaul
2b177e9b6d Start making the osk an osk 2012-12-22 18:48:32 +00:00
TMaul
154d3aaf6a Add sceAtracSetMOutHalfwayBuffer definitiion
PLus clean up the font code a tiny bit
2012-12-22 18:48:32 +00:00
Unknown W. Brackets
217bdc275e Fix some type-conversion warnings. 2012-12-21 16:07:38 -08:00
TMaul
9a83dee9b5 With not insane tabs this time.. 2012-12-17 23:57:40 +00:00
TMaul
fdd2879443 Another font function
Used by assassins creed.
2012-12-17 23:54:21 +00:00
TMaul
1c15b70277 Various Cleanups
Make some sceFont functions fill in (fake) error codes

sceGeListSync seems to want a return value (fat princess, others)

Another missing sceKernelModule method (killzone)
2012-12-13 11:40:50 +00:00
TMaul
7f5fd15c6b Fake some more font functions
Too many games crap out if the structs and the error codes are not set
to something sensible. Also, I've tried setting the glyph buffer to grey
to get something displaying, although it doesn't seem to work in
anything so far.
2012-12-09 20:37:33 +00:00
TMaul
14b1e68f6c Adjust fake font size
Seems to make a few games happier.

Also make it output the characters to the log
2012-12-09 18:48:29 +00:00
TMaul
6c91fc53f2 Start of sceFont Wrapping and stubbing 2012-12-09 18:48:29 +00:00
Henrik Rydgard
08f8f4b323 Cleanup sceRtc, move sceFont to its own file. 2012-11-22 22:30:44 +01:00