mirror of
https://github.com/CTCaer/hekate.git
synced 2024-12-23 00:22:01 +00:00
fatfs/nyx: set minimum year to 2023
This commit is contained in:
parent
55e01ca735
commit
7f92f65c26
4 changed files with 5 additions and 5 deletions
|
@ -256,7 +256,7 @@
|
|||
#define FF_FS_NORTC 1
|
||||
#define FF_NORTC_MON 1
|
||||
#define FF_NORTC_MDAY 1
|
||||
#define FF_NORTC_YEAR 2022
|
||||
#define FF_NORTC_YEAR 2023
|
||||
/* The option FF_FS_NORTC switches timestamp function. If the system does not have
|
||||
/ any RTC function or valid timestamp is not needed, set FF_FS_NORTC = 1 to disable
|
||||
/ the timestamp function. Every object modified by FatFs will have a fixed timestamp
|
||||
|
|
|
@ -93,7 +93,7 @@ void save_emummc_cfg(u32 part_idx, u32 sector_start, const char *path)
|
|||
itoa(part_idx, lbuf, 10);
|
||||
f_puts(lbuf, &fp);
|
||||
}
|
||||
else if(path)
|
||||
else if (path)
|
||||
f_puts("1", &fp);
|
||||
else
|
||||
f_puts("0", &fp);
|
||||
|
@ -399,7 +399,7 @@ void dump_emummc_file(emmc_tool_gui_t *gui)
|
|||
for (int j = 0; j < 100; j++)
|
||||
{
|
||||
update_emummc_base_folder(sdPath, base_len, j);
|
||||
if(f_stat(sdPath, NULL) == FR_NO_FILE)
|
||||
if (f_stat(sdPath, NULL) == FR_NO_FILE)
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#include <libs/lvgl/lv_themes/lv_theme_hekate.h>
|
||||
#include <libs/lvgl/lvgl.h>
|
||||
|
||||
#define CLOCK_MIN_YEAR 2022
|
||||
#define CLOCK_MIN_YEAR 2023
|
||||
#define CLOCK_MAX_YEAR (CLOCK_MIN_YEAR + 10)
|
||||
|
||||
extern hekate_config h_cfg;
|
||||
|
|
|
@ -257,7 +257,7 @@
|
|||
#define FF_FS_NORTC 0
|
||||
#define FF_NORTC_MON 1
|
||||
#define FF_NORTC_MDAY 1
|
||||
#define FF_NORTC_YEAR 2022
|
||||
#define FF_NORTC_YEAR 2023
|
||||
/* The option FF_FS_NORTC switches timestamp function. If the system does not have
|
||||
/ any RTC function or valid timestamp is not needed, set FF_FS_NORTC = 1 to disable
|
||||
/ the timestamp function. Every object modified by FatFs will have a fixed timestamp
|
||||
|
|
Loading…
Reference in a new issue