diff options
| author | Matthew Parlane <parlane@gmail.com> | 2012-03-31 16:07:11 +1300 |
|---|---|---|
| committer | Shawn Hoffman <godisgovernment@gmail.com> | 2012-03-30 20:10:48 -0700 |
| commit | 404a6b9ba8c4276df22efb87487b138175c3aab3 (patch) | |
| tree | 33a4cb7e303948ead6b50fb2c4ede926f3356670 /Source/Core/DiscIO/Src/NANDContentLoader.cpp | |
| parent | 995a84e06a69bf037a02f321db3d10c0b376ce5e (diff) | |
Fixes issue 5330.
Diffstat (limited to 'Source/Core/DiscIO/Src/NANDContentLoader.cpp')
| -rw-r--r-- | Source/Core/DiscIO/Src/NANDContentLoader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/Src/NANDContentLoader.cpp b/Source/Core/DiscIO/Src/NANDContentLoader.cpp index f010b7ed98..dc1f44739b 100644 --- a/Source/Core/DiscIO/Src/NANDContentLoader.cpp +++ b/Source/Core/DiscIO/Src/NANDContentLoader.cpp @@ -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"); } |
