From ea8cd8a420a1fdfb51bb002a4d15553d38458c26 Mon Sep 17 00:00:00 2001 From: morkt Date: Wed, 13 Dec 2017 13:33:10 +0400 Subject: [PATCH] (BPE): fixed. --- Legacy/QSoft/ImageBPE.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Legacy/QSoft/ImageBPE.cs b/Legacy/QSoft/ImageBPE.cs index 737b6312..b9ce1a43 100644 --- a/Legacy/QSoft/ImageBPE.cs +++ b/Legacy/QSoft/ImageBPE.cs @@ -25,6 +25,7 @@ using System.ComponentModel.Composition; using System.IO; +using GameRes.Utility; namespace GameRes.Formats.QSoft { @@ -95,7 +96,7 @@ namespace GameRes.Formats.QSoft break; ctl = input.ReadByte() & 0xFF; } - int chunk_size = Binary.BigEndian (input.ReadUInt16()) + int chunk_size = Binary.BigEndian (input.ReadUInt16()); int x = 0; for (;;) {