rockbox/apps
Franklin Wei 4dcd1a9ed8 puzzles: load cached fonts unconditionally
This works around an odd issue in Mines involving the zoom feature. The
chain of events leading to it is rather convoluted:

1. No save game is found, so no fonts are loaded from disk.
2. A new game is started.
3. The user selects the "Zoom" option.
4. The allocation of the zoom framebuffer causes the malloc code to grab
   the audiobuffer. This causes all further font_load() calls to FAIL, due
   to buflib allocations no longer working.
5. The user goes back to the normal view and uncovers a square.
6. Font loading fails, causing the drawing code to fall back to the system
   font.
7. An unrelated bug (not yet tracked down) causes font_get(FONT_UI) to
   return a different font.
8. font_getstringsize() returns the right size of the "wrong" font, leading
   to centering issues upon rb_draw_text().

The real solution to this would be to fix font_get(), but this fix should
prevent the issue from happening if Mines has been run and saved at least
once before.

Change-Id: Ib9ad51376eeb3ca1113a1f3786124b612db88cd7
2020-07-07 21:25:27 +00:00
..
bitmaps xDuoo X3II and X20 port 2020-04-06 18:15:41 +02:00
gui Bug fix icon.c crashes with negative icon index 2019-09-24 23:51:12 -05:00
hosted/android
iap portalplayer: Fix three set-but-not-used warnings. 2020-07-05 17:15:57 +00:00
keymaps FS#13195: rocker: Improved root menu keymap (Howard Richardson) 2020-05-18 22:51:01 +02:00
lang FS#13208: More Polish language improvements (Adam Rak) 2020-07-02 15:15:55 +00:00
menus Fix red dynamic menus 2019-09-20 03:57:38 -05:00
player Bug fix icon.c crashes with negative icon index 2019-09-24 23:51:12 -05:00
plugins puzzles: load cached fonts unconditionally 2020-07-07 21:25:27 +00:00
radio Radio: Say current frequency or preset when pausing 2020-05-24 17:43:02 +02:00
recorder jpeg: Fix an overflow when decoding images for non-color targets. 2020-04-05 06:34:21 +02:00
abrepeat.c
abrepeat.h
action.c Fix REMOTE_CONTEXT failure 2019-04-22 16:23:28 -05:00
action.h
alarm_menu.c Fix menu warnings 2018-10-18 00:06:31 +02:00
alarm_menu.h Fix menu warnings 2018-10-18 00:06:31 +02:00
appevents.h
applimits.h
apps.make
audio_path.c
audio_thread.c
audio_thread.h
beep.c
bookmark.c bookmark: #pragma diagnostic push/pop requires GCC >= 4.6 2020-05-18 03:56:49 +02:00
bookmark.h
buffering.c
buffering.h
codec_thread.c opus reset decoder on seek completion to prevent stack overflow 2019-08-14 17:54:35 +02:00
codec_thread.h
codecs.c
core_asmdefs.c
cuesheet.c Fix Truncation warning in cuesheet.c->browse_cuesheet 2018-12-08 04:47:27 -06:00
cuesheet.h
debug_menu.c talk.h add failed to load splash 2020-05-22 07:52:01 -05:00
debug_menu.h Fix menu warnings 2018-10-18 00:06:31 +02:00
enc_config.c Fix menu warnings 2018-10-18 00:06:31 +02:00
enc_config.h Fix menu warnings 2018-10-18 00:06:31 +02:00
features.txt Fix build on IHIFI 800 and iBasso DX50 2019-08-14 16:48:43 +02:00
filetree.c filetree.c add checks for invalid file entries 2018-12-14 06:09:38 -06:00
filetree.h
filetypes.c AAC bitstream format files support 2018-12-22 20:12:10 -05:00
filetypes.h
fracmul.h
keyboard.h
language.c
language.h
logfdisp.c FS#9788: Include timestamp in logf filename (Yoshihisa Uchida) 2020-07-07 15:58:51 +00:00
logfdisp.h
main.c Comment details, typos 2020-05-24 14:31:15 +02:00
menu.c Bug fix menu -- general 2019-09-20 19:23:18 -05:00
menu.h Bug fix dynamic menus 2019-09-20 03:07:29 -05:00
misc.c Comment details, typos 2020-05-24 14:31:15 +02:00
misc.h FS#10311 -- Add beep when navigating to beginning or end of list. 2019-01-31 15:25:35 +01:00
mpeg.c
mpeg.h
onplay.c Fix minor issues introduced in fe95127 (Playlist playing time) 2019-02-04 02:31:07 +01:00
onplay.h FS#11711: Add ability to create bookmark from WPS hotkey 2019-01-02 17:35:48 +01:00
pcmbuf.c
pcmbuf.h
playback.c Auto-Ranging Time Formatting For Menus (hh:mm:ss:mss) 2018-12-22 12:27:21 -06:00
playback.h Fix playback.c audio_track_count() warning 2018-10-18 09:57:20 -04:00
playlist.c Playlist Viewer Fix FS#13197 2020-05-20 18:41:58 +02:00
playlist.h Playlist Viewer Fix FS#13197 2020-05-20 18:41:58 +02:00
playlist_catalog.c Playlist rework 2019-08-18 10:18:31 -05:00
playlist_catalog.h
playlist_menu.h
playlist_viewer.c Playlist Viewer Fix FS#13197 2020-05-20 18:41:58 +02:00
playlist_viewer.h
plugin.c button: allow disabling software poweroff 2020-06-27 13:27:40 -04:00
plugin.h button: allow disabling software poweroff 2020-06-27 13:27:40 -04:00
rbcodec_helpers.c
rbcodecconfig.h
rbcodecplatform.h
README
root_menu.c Bug fix dynamic menus 2019-09-20 03:07:29 -05:00
root_menu.h
screen_access.c
screen_access.h
screens.c Improved reliability of runtime accounting and speaking it. 2019-08-06 04:47:20 +02:00
screens.h Fix menu warnings 2018-10-18 00:06:31 +02:00
scrobbler.c
scrobbler.h
settings.c Fixed system state information loss when it is saved in file 2020-06-30 14:20:37 +00:00
settings.h Fix build on non-RTC targets. 2019-07-20 13:00:30 -04:00
settings_list.c Fix build on non-RTC targets. 2019-07-20 13:00:30 -04:00
settings_list.h Auto-Ranging Time Formatting For Menus (hh:mm:ss:mss) 2018-12-22 12:27:21 -06:00
shortcuts.c Enhanced shortcuts speech feedback 2019-08-13 13:08:33 +02:00
shortcuts.h
sound_menu.h Fix menu warnings 2018-10-18 00:06:31 +02:00
SOURCES obsolete: Nuke the very-incomplete Archos AV300 target 2020-04-13 22:06:22 +02:00
status.c
status.h
tagcache.c FS#9213 - Fix for audio dropout after startup 2019-08-20 13:17:23 +02:00
tagcache.h
tagnavi.config
tagtree.c tagtree add %reload to allow hot reloading of tagnavi config 2019-08-02 05:16:16 +02:00
tagtree.h Fix menu warnings 2018-10-18 00:06:31 +02:00
talk.c talk.h add failed to load splash 2020-05-22 07:52:01 -05:00
talk.h talk.h add init status to debug menu 2020-05-22 06:35:22 -05:00
tree.c Playlist rework 2019-08-18 10:18:31 -05:00
tree.h Fix tree.c->tree_get_entry_at() buffer overflow 2018-12-14 01:28:17 -06:00
usb_keymaps.c
usb_keymaps.h
voice_thread.c
voice_thread.h

For general information see: docs/README
For API information see: docs/API