diff --git a/GameRes/ImagePNG.cs b/GameRes/ImagePNG.cs index d1aef3bc..c8d6cc89 100644 --- a/GameRes/ImagePNG.cs +++ b/GameRes/ImagePNG.cs @@ -178,9 +178,8 @@ namespace GameRes return meta; } - long FindChunk (Stream stream, string chunk) + public static long FindChunk (Stream stream, string chunk) { - char[] find_name = chunk.ToCharArray(); long found_offset = -1; var file = new ArcView.Reader (stream); try