Fix mismatch in FAT copies on deleting title

This commit is contained in:
Pk11 2022-01-09 02:56:59 -06:00
parent b6fa1e97c9
commit 0d957e476a
2 changed files with 4 additions and 0 deletions

View File

@ -306,6 +306,7 @@ static bool delete(Menu* m)
{
if (remove(fpath) == 0)
{
nandWritten = true;
result = true;
messageBox("\x1B[42mFile deleted.\x1B[47m");
}

View File

@ -321,6 +321,9 @@ bool deleteDir(char const* path)
{
if (!path) return false;
if(strncmp(path, "nand:", 5) == 0)
nandWritten = true;
if (strcmp("/", path) == 0)
{
//oh fuck no