mirror of
https://github.com/Maschell/JNUSLib.git
synced 2024-11-05 07:45:11 +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;
|
||||
|
||||
import de.mas.wiiu.jnus.Settings;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@ -24,4 +25,8 @@ public class WUDPartition {
|
||||
private final long partitionOffset;
|
||||
|
||||
private WUDPartitionHeader partitionHeader;
|
||||
|
||||
public long getAbsolutePartitionOffset() {
|
||||
return Settings.WIIU_DECRYPTED_AREA_OFFSET + getPartitionOffset();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user