Start gfx rewrite & reorganize TE

This commit is contained in:
Such Meme, Many Skill
2020-03-18 00:41:09 +01:00
parent 761ceb7dbe
commit 6aed4ad7b3
16 changed files with 570 additions and 62 deletions

View File

@@ -13,6 +13,7 @@
#include "emmc.h"
#include "fs.h"
#include "io.h"
#include "common/common.h"
extern bool sd_mount();
extern void sd_unmount();
@@ -188,7 +189,7 @@ int format(int mode){
timer = get_tmr_s();
totalsectors = sd_storage.csd.capacity;
if (mode == 0){
if (mode == FORMAT_EMUMMC){
if (totalsectors < 83886080){
gfx_printf("%kYou seem to be running this on a <=32GB SD\nNot enough free space for emummc!", COLOR_RED);
fatalerror = true;