Add BPMP overclock, add hekate fixes, fix sprintf
This commit is contained in:
parent
34890f0025
commit
82bea6be8f
39 changed files with 1130 additions and 544 deletions
|
@ -24,6 +24,7 @@
|
|||
#include "mem/heap.h"
|
||||
#include "power/max77620.h"
|
||||
#include "rtc/max77620-rtc.h"
|
||||
#include "soc/bpmp.h"
|
||||
#include "soc/hw_init.h"
|
||||
#include "storage/sdmmc.h"
|
||||
#include "utils/util.h"
|
||||
|
@ -107,7 +108,7 @@ int sd_save_to_file(void *buf, u32 size, const char *filename)
|
|||
if (res)
|
||||
{
|
||||
EPRINTFARGS("Error (%d) creating file\n%s.\n", res, filename);
|
||||
return 1;
|
||||
return res;
|
||||
}
|
||||
|
||||
f_write(&fp, buf, size, NULL);
|
||||
|
@ -159,6 +160,8 @@ void ipl_main()
|
|||
gfx_con_init();
|
||||
display_backlight_pwm_init();
|
||||
|
||||
bpmp_clk_rate_set(BPMP_CLK_SUPER_BOOST);
|
||||
|
||||
sd_mount();
|
||||
dump_keys();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue