Another one readme update

This commit is contained in:
Dmitry Isaenko 2019-02-19 17:50:13 +03:00
parent 94b0c764f1
commit f295cf014d
3 changed files with 5 additions and 4 deletions

View file

@ -11,6 +11,8 @@ Ok, I'm almost sure that this version has bugs. I don't remember where I downloa
Let's rephrase, if you have working version of TinFoil DO NOT use this one.
![Screenshot](https://farm8.staticflickr.com/7834/47133893471_37fd9689c4_o.png)
## License
Source code spreads under the GNU General Public License v.3. You can find it in LICENSE file.

View file

@ -116,9 +116,9 @@ public class PFSProvider {
nca_name_offset = ByteBuffer.wrap(Arrays.copyOfRange(ncaInfoArr, 20, 24)).order(ByteOrder.LITTLE_ENDIAN).getInt(); // yes, cast from int to long.
printLog(" Padding check", offset == 0?EMsgType.PASS:EMsgType.WARNING);
printLog(" NCA offset check "+nca_offset, nca_offset >= 0?EMsgType.PASS:EMsgType.WARNING);
printLog(" NCA offset check: "+nca_offset, nca_offset >= 0?EMsgType.PASS:EMsgType.WARNING);
printLog(" NCA size check: "+nca_size, nca_size >= 0?EMsgType.PASS: EMsgType.WARNING);
printLog(" NCA name offset check "+nca_name_offset, nca_name_offset >= 0?EMsgType.PASS:EMsgType.WARNING);
printLog(" NCA name offset check: "+nca_name_offset, nca_name_offset >= 0?EMsgType.PASS:EMsgType.WARNING);
NCAFile ncaFile = new NCAFile();
ncaFile.setNcaOffset(nca_offset);

View file

@ -545,8 +545,7 @@ public class UsbCommunications extends Task<Void> {
printLog("GL File structure validated and it will be uploaded", EMsgType.PASS);
if (initGoldLeafProtocol(pfsElement))
status = EFileStatus.UPLOADED;
// else - no change status that is already set to FAILED
status = EFileStatus.UPLOADED; // else - no change status that is already set to FAILED
}
private boolean initGoldLeafProtocol(PFSProvider pfsElement){
// Go parse commands