Add partitioning

Also add sd mounting/unmounting
Also add vol+/- controls for sideways menus
This commit is contained in:
suchmememanyskill
2020-12-28 20:08:15 +01:00
parent baec43da2a
commit f1d433e69a
12 changed files with 225 additions and 15 deletions

View File

@@ -2,6 +2,7 @@
#include <string.h>
#include <utils/types.h>
#include <mem/heap.h>
#include <utils/util.h>
char *CpyStr(const char* in){
int len = strlen(in);
@@ -29,4 +30,9 @@ bool StrEndsWith(char *begin, char *end){
return !strcmp(begin, end);
return 0;
}
void WaitFor(u32 ms){
u32 a = get_tmr_ms();
while (a + ms > get_tmr_ms());
}