mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-04 16:38:55 +00:00
GNAP: (hopefully) fix display on BE systems
This commit is contained in:
parent
0b240ff4a0
commit
1f2095b066
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user