Skip to content

Commit

Permalink
Rif path is now a dir path, not file
Browse files Browse the repository at this point in the history
  • Loading branch information
Beyley committed Jan 16, 2024
1 parent e00a686 commit 0dc5da2
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SCEToolSharp/LibSCEToolSharp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ public static void SetActDatFilePath(string filePath)
set_act_dat_file_path(dirPtr);
}

public static void SetRifFilePath(string filePath)
public static void SetRifPath(string filePath)
{
if (!File.Exists(filePath)) throw new FileNotFoundException(filePath);
if (!Directory.Exists(filePath)) throw new DirectoryNotFoundException(filePath);

fixed (byte* dirPtr = Encoding.UTF8.GetBytes(filePath + '\0'))
set_rif_file_path(dirPtr);
Expand Down
Binary file modified SCEToolSharp/runtimes/linux-arm64/native/libscetool.so
Binary file not shown.
Binary file modified SCEToolSharp/runtimes/linux-x64/native/libscetool.so
Binary file not shown.
Binary file modified SCEToolSharp/runtimes/osx-arm64/native/libscetool.dylib
Binary file not shown.
Binary file modified SCEToolSharp/runtimes/osx-x64/native/libscetool.dylib
Binary file not shown.
Binary file modified SCEToolSharp/runtimes/win-arm64/native/scetool.dll
Binary file not shown.
Binary file modified SCEToolSharp/runtimes/win-x64/native/scetool.dll
Binary file not shown.

0 comments on commit 0dc5da2

Please sign in to comment.