Skip to content

Commit

Permalink
Merge pull request #100 from squidgy617/master
Browse files Browse the repository at this point in the history
If palette hash is blank, substitute with $ wildcard.
  • Loading branch information
soopercool101 authored May 17, 2024
2 parents d79b4c0 + 6b9792f commit 6062dbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BrawlLib/SSBB/ResourceNodes/Graphics/TEX0Node.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ private string BuildDolphinTextureName()
if (LevelOfDetail > 1)
name += "m_";
name += $"{_textureHash}_";
if (HasPalette)
if (HasPalette && !string.IsNullOrEmpty(_paletteHash))
name += $"{_paletteHash}_";
else if (Format == WiiPixelFormat.CI4 || Format == WiiPixelFormat.CI8)
name += "$_";
Expand Down

0 comments on commit 6062dbb

Please sign in to comment.