GNAP: (hopefully) fix display on BE systems

This commit is contained in:
Strangerke 2016-05-30 21:39:12 +02:00
parent 0b240ff4a0
commit 1f2095b066

View File

@ -173,7 +173,11 @@ GnapEngine::~GnapEngine() {
Common::Error GnapEngine::run() {
// Initialize the graphics mode to RGBA8888
#if defined(SCUMM_BIG_ENDIAN)
Graphics::PixelFormat format = Graphics::PixelFormat(4, 8, 8, 8, 8, 0, 8, 16, 24);
#else
Graphics::PixelFormat format = Graphics::PixelFormat(4, 8, 8, 8, 8, 24, 16, 8, 0);
#endif
initGraphics(800, 600, true, &format);
// We do not support color conversion yet