mirror of
https://github.com/Maschell/JNUSLib.git
synced 2024-11-18 05:59:20 +01:00
Add getAbsolutePartitionOffset function to the WUDPartition class.
This commit is contained in:
parent
de322b9ebc
commit
64b6cfed97
@ -16,6 +16,7 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
package de.mas.wiiu.jnus.implementations.wud.parser;
|
package de.mas.wiiu.jnus.implementations.wud.parser;
|
||||||
|
|
||||||
|
import de.mas.wiiu.jnus.Settings;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
@Data
|
@Data
|
||||||
@ -24,4 +25,8 @@ public class WUDPartition {
|
|||||||
private final long partitionOffset;
|
private final long partitionOffset;
|
||||||
|
|
||||||
private WUDPartitionHeader partitionHeader;
|
private WUDPartitionHeader partitionHeader;
|
||||||
|
|
||||||
|
public long getAbsolutePartitionOffset() {
|
||||||
|
return Settings.WIIU_DECRYPTED_AREA_OFFSET + getPartitionOffset();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user