mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-26 06:20:24 +00:00
Some adjustments
This commit is contained in:
parent
554f4b17a0
commit
7efbad2ae9
2 changed files with 2 additions and 2 deletions
|
@ -71,7 +71,7 @@ namespace FirstPlugin
|
|||
|
||||
public void Load(System.IO.Stream stream)
|
||||
{
|
||||
CanSave = true;
|
||||
CanSave = false;
|
||||
|
||||
header = new Header();
|
||||
header.Read(new FileReader(stream));
|
||||
|
|
|
@ -109,9 +109,9 @@ namespace Toolbox.Library
|
|||
try
|
||||
{
|
||||
var bitmap = Textures[i].GetBitmap();
|
||||
bitmap = Textures[i].GetComponentBitmap(bitmap);
|
||||
if (bitmap != null)
|
||||
{
|
||||
bitmap = Textures[i].GetComponentBitmap(bitmap);
|
||||
string textureName = Textures[i].Text;
|
||||
if (textureName.RemoveIllegaleFileNameCharacters() != textureName)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue