aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/buffer_cache
diff options
context:
space:
mode:
authorTakoroka <137927095+Takoroka@users.noreply.github.com>2026-10-30 10:30:31 -0400
committerTakoroka <137927095+Takoroka@users.noreply.github.com>2026-10-30 10:31:37 -0400
commite6d2ef69e70ff046c965270c1f7ecabb8a450fac (patch)
treea3650f0922ae691263f44d1a7bb428d553f81765 /src/video_core/buffer_cache
parent24e3cb462e47b22edda334939123694ff6920e95 (diff)
ns: give Switch 2 built-in fonts their own shared memory
pl:u 2010 GetBuiltInFontData pointed into plain font copies placed after the BFTTF data in the 17 MiB Switch 1 font memory. With the system fonts installed that memory is full, so the copies were dropped, every call answered "no font" and Kirby Air Riders polled it ~160 times a second without ever drawing. pl:u 2000 now returns a separate shared memory, made on its first call, with the fonts at page-aligned offsets; GetBuiltInFontData's descriptors point there. The data after each BFTTF header already is the plain font, so the copies come from it instead of a second decryption at start-up.
Diffstat (limited to 'src/video_core/buffer_cache')
0 files changed, 0 insertions, 0 deletions