1
0
Fork 0
forked from len0rd/rockbox
foxbox/apps/plugins/lib
William Wilgus 7100090f99 Remove NVRAM infavor of a separate cfg file
remove nvram and use the existing settings framework for it

add a crc check to the user_settings data to see if we need to save
the user setting file or if we can just save the status file (resume.cfg)

move volume to the system_status struct so we don't write the whole settings file
over volume changes

allow user to still export volume with save sound settings

allow the user to also export pitch and speed

name the file .resume.cfg

Rename all the SYSTEM_STATUS save file variables to TLAs to save space and
discourage tinkering

Cleanup DEBUG_AVAIL_SETTINGS output

when saving user_settings it calls status_save as well this cause the resume
file to be written twice. instead remove the callback for status_save
when setting_save is called

remove header text when saving .resume.cfg

convert status_save() to status_save(bool force)
add SYSTEM_STATUS_UPDATE_TICKS

for ATA device set this to 5 minutes
since we arlready wait for the disk to be up before saving
we don't want to miss our window

for all other every 15 minutes

that way if the battery is too low by the time shutdown comes around you
don't lose much progress

Change-Id: I27214ffd6e5d5494ee5ca83b14f04a41ba426ad7
2025-01-21 00:04:32 -05:00
..
action_helper.c
action_helper.h
action_helper.pl
arg_helper.c plugin argparse update to add userdata to callback 2024-07-26 00:56:13 -04:00
arg_helper.h plugin argparse update to add userdata to callback 2024-07-26 00:56:13 -04:00
bmp_smooth_scale.c Define LCD_STRIDEFORMAT unconditionally 2022-09-30 10:42:49 +01:00
button_helper.c
button_helper.h
button_helper.pl
checkbox.c
checkbox.h
configfile.c [BugFix] pitch screen load config fd wasn't closed 2025-01-18 11:47:12 -05:00
configfile.h [Fix Yellow] pitch_screen and configfile 2025-01-17 23:09:18 -05:00
display_text.c
display_text.h
feature_wrappers.h
gcc-support.c
grey.h
grey_coldfire.S
grey_core.c
grey_draw.c
grey_parm.c
grey_scroll.c
helper.c plugins HAVE_BACKLIGHT helper remove ifdefs in favor of dummy functions 2022-11-23 23:00:29 -05:00
helper.h Fix Red lib/helper.h 2022-11-23 23:55:45 -05:00
highscore.c plugins: Xobox: Fix highscore table on 2bit grayscale displays 2022-12-29 11:26:57 +01:00
highscore.h
icon_helper.c
icon_helper.h
jhash.c
jhash.h
jpeg_mem.h
kbd_helper.c
kbd_helper.h
keymaps.h hitiet ma8/ma9: add in keymaps for all plugins 2025-01-07 14:22:53 -05:00
md5.c
md5.h
mul_id3.c plugins: properties: delay UI viewport update 2024-07-30 16:05:29 -04:00
mul_id3.h plugins: extract redundant functionality from stats/properties 2024-07-28 20:18:41 +02:00
mylcd.h
osd.c Define LCD_STRIDEFORMAT unconditionally 2022-09-30 10:42:49 +01:00
osd.h
overlay.c plugins: Simplify plugin/codec API versioning 2023-03-21 16:23:54 -04:00
overlay.h
picture.c
picture.h
playback_control.c Remove NVRAM infavor of a separate cfg file 2025-01-21 00:04:32 -05:00
playback_control.h
pluginlib_actions.c hitiet ma8/ma9: add in keymaps for all plugins 2025-01-07 14:22:53 -05:00
pluginlib_actions.h
pluginlib_albumart.c
pluginlib_bmp.c Define LCD_STRIDEFORMAT unconditionally 2022-09-30 10:42:49 +01:00
pluginlib_bmp.h
pluginlib_exit.h
pluginlib_jpeg_idct_arm.S
pluginlib_jpeg_load.c
pluginlib_jpeg_mem.c
pluginlib_resize.c
pluginlib_touchscreen.c
pluginlib_touchscreen.h
printcell_helper.c [Bugfix] plugins printcell_helper crash on NULL pointer 2025-01-13 00:45:09 -05:00
printcell_helper.h [Feature, Plugin] lastfm_scrobbler_viewer 2023-04-16 23:50:24 -04:00
profile_plugin.c
profile_plugin.h
read_image.c
read_image.h
rgb_hsv.c
rgb_hsv.h
sha1.c
sha1.h
simple_viewer.c plugins: simple viewer: prevent audio dropouts when scrolling 2024-11-24 23:55:40 +01:00
simple_viewer.h
SOURCES plugins: Remove id3 lib 2024-12-15 23:50:24 +01:00
stdio_compat.c
stdio_compat.h
strncpy.c
wrappers.h Fix red in 7f265ee 2023-01-14 19:40:29 +01:00
xlcd.h
xlcd_core.c
xlcd_draw.c
xlcd_scroll.c Define LCD_STRIDEFORMAT unconditionally 2022-09-30 10:42:49 +01:00