Fixes issue 5330.

This commit is contained in:
Matthew Parlane
2012-03-31 16:07:11 +13:00
committed by Shawn Hoffman
parent 995a84e06a
commit 404a6b9ba8
3 changed files with 28 additions and 18 deletions

View File

@ -462,7 +462,7 @@ void cUIDsys::AddTitle(u64 _TitleID)
File::CreateFullPath(uidSys);
File::IOFile pFile(uidSys, "ab");
if (pFile.WriteArray(&Element, 1))
if (!pFile.WriteArray(&Element, 1))
ERROR_LOG(DISCIO, "fwrite failed");
}