mirror of
https://github.com/rvtr/TDT.git
synced 2025-10-31 13:51:07 -04:00
Fix mismatch in FAT copies on deleting title
This commit is contained in:
parent
b6fa1e97c9
commit
0d957e476a
@ -306,6 +306,7 @@ static bool delete(Menu* m)
|
||||
{
|
||||
if (remove(fpath) == 0)
|
||||
{
|
||||
nandWritten = true;
|
||||
result = true;
|
||||
messageBox("\x1B[42mFile deleted.\x1B[47m");
|
||||
}
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user