Skip to content

Commit

Permalink
Added support for ProMotion NG JASC .pal (#358)
Browse files Browse the repository at this point in the history
Thanks for the patch !
  • Loading branch information
werton authored Oct 10, 2024
1 parent 8ab25b2 commit 8126020
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/commons/src/sgdk/tool/ImageUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ public static int[] getRGBA88884PaletteFromPALFile(String file) throws IOExcepti

for (int i = 0; i < size; i++)
{
final String rgba[] = br.readLine().split(" ");
final String rgba[] = br.readLine().replaceAll("#[0-9a-fA-F]+", "").split("\\s+");

final int r, g, b, a;

Expand Down

0 comments on commit 8126020

Please sign in to comment.