mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-16 01:37:55 +00:00
Save primatives properly
This commit is contained in:
parent
fcbd65fe4b
commit
be28b9c059
2 changed files with 2 additions and 2 deletions
Binary file not shown.
|
@ -511,11 +511,11 @@ namespace FirstPlugin
|
|||
{
|
||||
switch (Signature)
|
||||
{
|
||||
case "PRMA":
|
||||
case "G3PR":
|
||||
byte[] BinaryBFRESFile = new byte[0];
|
||||
if (BinaryData != null)
|
||||
{
|
||||
BinaryBFRESFile = ((BNTX)BinaryData).Save();
|
||||
BinaryBFRESFile = ((BFRES)BinaryData).Save();
|
||||
SectionSize = (uint)BinaryBFRESFile.Length;
|
||||
}
|
||||
SaveHeader(writer, BinaryBFRESFile, 4096);
|
||||
|
|
Loading…
Reference in a new issue