Browse Source

Fix menu on Big Endian systems

pull/286/head
Anders Jenbo 7 years ago committed by GitHub
parent
commit
4ef30b9612
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      SourceX/storm/storm.cpp

2
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);

Loading…
Cancel
Save