diff --git a/src/main.cpp b/src/main.cpp index 1f0ba72..762594d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -68,7 +68,7 @@ ON_APPLICATION_END() { void fillXmlForTitleID(uint32_t titleid_upper, uint32_t titleid_lower, ACPMetaXml *out_buf) { int32_t id = getIDByLowerTitleID(titleid_lower); - if(id < 0){ + if (id < 0) { DEBUG_FUNCTION_LINE("Failed to get id by titleid\n"); return; } @@ -282,7 +282,7 @@ DECL_FUNCTION(int, FSOpenFile, FSClient *client, FSCmdBlock *block, char *path, sscanf(id, "%08X", &lowerTitleID); int32_t idVal = getIDByLowerTitleID(lowerTitleID); if (idVal < 0) { - DEBUG_FUNCTION_LINE("Failed to find id for titleID %08X\n",lowerTitleID); + DEBUG_FUNCTION_LINE("Failed to find id for titleID %08X\n", lowerTitleID); } else { if (FSOpenFile_for_ID(idVal, ending, handle) < 0) { return res; diff --git a/src/readFileWrapper.cpp b/src/readFileWrapper.cpp index a38bf49..6e449a8 100644 --- a/src/readFileWrapper.cpp +++ b/src/readFileWrapper.cpp @@ -153,7 +153,7 @@ bool initCompressedFileReadInformation(fileReadInformation *info) { int32_t loadFileIntoBuffer(uint32_t lowerTitleID, const char *filepath, char *buffer, int sizeToRead) { int32_t id = getIDByLowerTitleID(lowerTitleID); - if(id < 0){ + if (id < 0) { DEBUG_FUNCTION_LINE("Failed to get id by titleid\n"); return -3; }