diff --git a/src/main/java/konogonka/Controllers/NCA/NCASectionHeaderBlockController.java b/src/main/java/konogonka/Controllers/NCA/NCASectionHeaderBlockController.java index e800024..d932b0a 100644 --- a/src/main/java/konogonka/Controllers/NCA/NCASectionHeaderBlockController.java +++ b/src/main/java/konogonka/Controllers/NCA/NCASectionHeaderBlockController.java @@ -92,8 +92,7 @@ public class NCASectionHeaderBlockController { BKTRu32Section2Lbl, BKTRs32Section2Lbl, BKTRunknownSection2Lbl, - sectionCTRlowLbl, - sectionCTRhighLbl; + sectionCTRLbl; public void resetTab() { versionLbl.setText("-"); @@ -167,8 +166,7 @@ public class NCASectionHeaderBlockController { BKTRu32Section2Lbl.setText("-"); BKTRs32Section2Lbl.setText("-"); BKTRunknownSection2Lbl.setText("-"); - sectionCTRlowLbl.setText("-"); - sectionCTRhighLbl.setText("-"); + sectionCTRLbl.setText("-"); unknwnEndPaddingTF.setText("-"); } @@ -258,8 +256,7 @@ public class NCASectionHeaderBlockController { BKTRu32Section2Lbl.setText(Integer.toString(ncaSectionBlock.getBKTRu32Section2())); BKTRs32Section2Lbl.setText(Integer.toString(ncaSectionBlock.getBKTRs32Section2())); BKTRunknownSection2Lbl.setText(byteArrToHexString(ncaSectionBlock.getBKTRunknownSection2())); - sectionCTRlowLbl.setText(byteArrToHexString(ncaSectionBlock.getSectionCTRlow())); - sectionCTRhighLbl.setText(byteArrToHexString(ncaSectionBlock.getSectionCTRhigh())); + sectionCTRLbl.setText(byteArrToHexString(ncaSectionBlock.getSectionCTR())); unknwnEndPaddingTF.setText(byteArrToHexString(ncaSectionBlock.getUnknownEndPadding())); } } diff --git a/src/main/java/konogonka/Tools/NCA/NCASectionTableBlock/NCASectionBlock.java b/src/main/java/konogonka/Tools/NCA/NCASectionTableBlock/NCASectionBlock.java index 2e68847..8a4c3f1 100644 --- a/src/main/java/konogonka/Tools/NCA/NCASectionTableBlock/NCASectionBlock.java +++ b/src/main/java/konogonka/Tools/NCA/NCASectionTableBlock/NCASectionBlock.java @@ -91,10 +91,6 @@ public class NCASectionBlock { public int getBKTRs32Section2() { return BKTRs32Section2; } public byte[] getBKTRunknownSection2() { return BKTRunknownSection2; } public byte[] getSectionCTR() { return sectionCTR; } - // Sugar - public byte[] getSectionCTRlow() { return Arrays.copyOfRange(sectionCTR, 0, 0x4); } - public byte[] getSectionCTRhigh() { return Arrays.copyOfRange(sectionCTR, 0x4, 0x8); } - public byte[] getUnknownEndPadding() { return unknownEndPadding; } } diff --git a/src/main/resources/FXML/NCA/NCASectionHeaderBlock.fxml b/src/main/resources/FXML/NCA/NCASectionHeaderBlock.fxml index 1b3c882..a02b125 100644 --- a/src/main/resources/FXML/NCA/NCASectionHeaderBlock.fxml +++ b/src/main/resources/FXML/NCA/NCASectionHeaderBlock.fxml @@ -29,7 +29,6 @@ - @@ -1583,7 +1582,7 @@ - - - - - - - - - - - - - - - - - - - + - - - - - -