mirror of
https://github.com/rvtr/unlaunch-installer_dev.git
synced 2026-01-26 13:43:08 -05:00
Fix FAT_setAttr result check
This commit is contained in:
parent
550f0c7428
commit
392c972b05
@ -398,7 +398,7 @@ int main(int argc, char **argv)
|
||||
|
||||
//Mark the tmd as readonly
|
||||
int fatAttributes = FAT_getAttr("nand:/title/00030017/484e4141/content/title.tmd");
|
||||
if(!FAT_setAttr("nand:/title/00030017/484e4141/content/title.tmd", fatAttributes | ATTR_READONLY) != 0)
|
||||
if(FAT_setAttr("nand:/title/00030017/484e4141/content/title.tmd", fatAttributes | ATTR_READONLY) != 0)
|
||||
{
|
||||
messageBox("\x1B[31mError:\x1B[33m Failed to mark unlaunch's title.tmd as read only\n");
|
||||
remove("nand:/title/00030017/484e4141/content/title.tmd");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user