mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-10 07:04:36 +00:00
Fix some seek issues when writing switch PTCL
This commit is contained in:
parent
a6c691bd82
commit
503e4f964d
1 changed files with 2 additions and 2 deletions
|
@ -1225,11 +1225,11 @@ namespace FirstPlugin
|
|||
|
||||
//Seek to the contant colors
|
||||
if (header.VFXVersion >= 37)
|
||||
writer.Seek(Position + 2376, SeekOrigin.Begin);
|
||||
writer.Seek(Position + 2392, SeekOrigin.Begin);
|
||||
else if (header.VFXVersion > 21)
|
||||
writer.Seek(Position + 2384, SeekOrigin.Begin);
|
||||
else
|
||||
writer.Seek(Position + 2376, SeekOrigin.Begin);
|
||||
writer.Seek(Position + 2392, SeekOrigin.Begin);
|
||||
|
||||
writer.Write(ConstantColor0.R);
|
||||
writer.Write(ConstantColor0.G);
|
||||
|
|
Loading…
Reference in a new issue