From 4ef30b961205970d87808cea0e26447766604dc7 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Wed, 25 Sep 2019 22:26:56 +0200 Subject: [PATCH] Fix menu on Big Endian systems --- SourceX/storm/storm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SourceX/storm/storm.cpp b/SourceX/storm/storm.cpp index 66babb8d3..775d74720 100644 --- a/SourceX/storm/storm.cpp +++ b/SourceX/storm/storm.cpp @@ -255,7 +255,7 @@ BOOL SBmpLoadImage(const char *pszFileName, PALETTEENTRY *pPalette, BYTE *pBuffe if (dwHeight) *dwHeight = height; if (pdwBpp) - *pdwBpp = SDL_SwapLE16(pcxhdr.BitsPerPixel); + *pdwBpp = pcxhdr.BitsPerPixel; if (!pBuffer) { SFileSetFilePointer(hFile, 0, 0, 2);