add crude firmware dumping script

This commit is contained in:
suchmememanyskill committed 2021-07-21 15:19:27 +02:00
1 parent d7ebd9fdbe
commit 3ab95dfd64
6 files changed
+202 -10

No files matched your search

+2 -3
View File
@@ -22,7 +22,7 @@
#include <mem/heap.h>
#include "../fs/menus/filemenu.h"
//#define INCLUDE_BUILTIN_SCRIPTS 1
#define INCLUDE_BUILTIN_SCRIPTS 1
#ifdef INCLUDE_BUILTIN_SCRIPTS
#include "../script/builtin.h"
@@ -121,11 +121,10 @@ void ViewCredits(){
if (hidRead()->r)
gfx_printf("%k\"I'm not even sure if it works\" - meme", COLOR_ORANGE);
/* Leaving this here for my debugging needs :)
heap_monitor_t a = {0};
heap_monitor(&a, false);
gfx_printf("\nUsed: %d\nTotal: %d\n", a.used, a.total);
*/
hidWait();
}