Skip to content

Commit

Permalink
Method to set disc encryption options
Browse files Browse the repository at this point in the history
  • Loading branch information
jvyden committed Aug 25, 2023
1 parent a04ba83 commit 4481ade
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions SCEToolSharp/LibSCEToolSharp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ public static unsafe partial class LibSceToolSharp

[LibraryImport("scetool")]
private static partial void rap_set_directory(byte* dirPath);

[LibraryImport("scetool")]
private static partial void set_disc_encrypt_options();

static LibSceToolSharp()
{
Expand Down Expand Up @@ -55,4 +58,9 @@ public static void SetRapDirectory(string dirPath)
fixed (byte* dirPtr = Encoding.UTF8.GetBytes(dirPath + '\0'))
rap_set_directory(dirPtr);
}

public static void SetDiscEncryptOptions()
{
set_disc_encrypt_options();
}
}

0 comments on commit 4481ade

Please sign in to comment.