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 Fix reds. 2014-03-14 23:43:45 +01:00
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 ab_repeat: Move GUI bits to the skin engine. This allows ab_repeat to be compiled headless. 2014-03-10 22:55:26 +01:00
abrepeat.h ab_repeat: Move GUI bits to the skin engine. This allows ab_repeat to be compiled headless. 2014-03-10 22:55:26 +01:00
action.c Fix REMOTE_CONTEXT failure 2019-04-22 16:23:28 -05:00
action.h Action.c FIX / Rework / Clean-up Action System 2017-11-18 16:08:07 +01:00
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 Get voice event out of playback.c 2017-12-12 20:28:56 -05:00
applimits.h
apps.make
audio_path.c nwzlinux: add support for radio 2017-11-06 21:37:06 +01:00
audio_thread.c Get voice event out of playback.c 2017-12-12 20:28:56 -05:00
audio_thread.h Update software recording engine to latest codec interface. 2013-06-30 00:40:27 +02:00
beep.c Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
bookmark.c bookmark: #pragma diagnostic push/pop requires GCC >= 4.6 2020-05-18 03:56:49 +02:00
bookmark.h Fix minor bookmark problems/Enhance bookmark functions 2012-03-12 08:54:02 +01:00
buffering.c Buffering: Missed converting one case assuming const handle size. 2017-12-19 14:19:39 -05:00
buffering.h Get rid of useless playlist probing and fix up some data types. 2017-12-17 16:33:50 -05:00
codec_thread.c opus reset decoder on seek completion to prevent stack overflow 2019-08-14 17:54:35 +02:00
codec_thread.h Update software recording engine to latest codec interface. 2013-06-30 00:40:27 +02:00
codecs.c Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
core_asmdefs.c
cuesheet.c Fix Truncation warning in cuesheet.c->browse_cuesheet 2018-12-08 04:47:27 -06:00
cuesheet.h Implements starting playback from a cuesheet. 2014-03-10 04:13:53 +01:00
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 Add more INIT_ATTR and add config.h includes to header files with INIT_ATTR. 2011-12-19 20:12:52 +00:00
fracmul.h Build librbcodec with DSP and metadata. 2012-03-18 12:00:39 +01:00
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 Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
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 Fix a problem with audio not starting on a list of short files 2017-04-06 19:32:35 -04:00
pcmbuf.h Fix a problem with audio not starting on a list of short files 2017-04-06 19:32:35 -04:00
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 FS#11808 - Major playlist handling changes (on disk playlists) 2011-07-20 14:11:15 +00:00
playlist_menu.h
playlist_viewer.c Playlist Viewer Fix FS#13197 2020-05-20 18:41:58 +02:00
playlist_viewer.h FS#11808 - Major playlist handling changes (on disk playlists) 2011-07-20 14:11:15 +00:00
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 Rename HAVE_PITCHSCREEN to HAVE_PITCHCONTROL 2012-05-09 14:32:38 +02:00
rbcodecconfig.h kernel: Break out kernel primitives into separate files and move to separate dir. 2014-03-03 18:11:57 +01:00
rbcodecplatform.h rbcodec: abstract tdspeed buffer allocation 2012-05-07 10:29:07 +02:00
README
root_menu.c Bug fix dynamic menus 2019-09-20 03:07:29 -05:00
root_menu.h root_menu: Remove previous_music_is_wps() and change previous_music via event callback. 2014-04-15 23:54:28 +02:00
screen_access.c Fix put_line via multiscreen API on remotes. Stupid me. 2014-01-08 10:45:00 +01:00
screen_access.h put_line/scrolling: Make the scroll engine inform custom scrollers about start/stop of scrolling. 2014-01-12 01:34:06 +01:00
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 iBasso DX50/DX90: Major code cleanup and reorganization. 2015-02-02 21:57:55 +01:00
scrobbler.h Get rid of some superfluous single-purpose functions in playback. 2013-07-13 00:08:51 -04:00
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 shortcuts: talk the time and configure the sleep timeout 2011-12-08 10:23:46 +00:00
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 Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
tagnavi.config FS#12132 patch 7: Add a new default format for untagged tracks: 2011-07-31 16:26:39 +00:00
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 remove superfluous ifdef 2011-12-28 19:23:38 +00:00
usb_keymaps.h
voice_thread.c Get voice event out of playback.c 2017-12-12 20:28:56 -05:00
voice_thread.h voice_thread_init was left INIT_ATTR but is being called too late. 2012-05-21 15:21:36 -04:00

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