diff options
author | Johannes Schickel | 2011-04-17 21:14:19 +0200 |
---|---|---|
committer | Johannes Schickel | 2011-04-17 21:14:19 +0200 |
commit | 877004dbdd967d2f57d494b1aaa1cb55aae0fd52 (patch) | |
tree | fe3630f18560b876300c42d50b2993b7b8da32da /backends/platform/ds/arm9 | |
parent | 3fd919060ca6bbf896680f3548bfaac020900d42 (diff) | |
download | scummvm-rg350-877004dbdd967d2f57d494b1aaa1cb55aae0fd52.tar.gz scummvm-rg350-877004dbdd967d2f57d494b1aaa1cb55aae0fd52.tar.bz2 scummvm-rg350-877004dbdd967d2f57d494b1aaa1cb55aae0fd52.zip |
BACKENDS: Adapt various backends code to set up Surface::format correctly.
Note that this change is not tested at all (not even compile wise!).
Diffstat (limited to 'backends/platform/ds/arm9')
-rw-r--r-- | backends/platform/ds/arm9/source/osystem_ds.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/platform/ds/arm9/source/osystem_ds.cpp b/backends/platform/ds/arm9/source/osystem_ds.cpp index 92f9eb5e9e..b22bc437b0 100644 --- a/backends/platform/ds/arm9/source/osystem_ds.cpp +++ b/backends/platform/ds/arm9/source/osystem_ds.cpp @@ -757,6 +757,7 @@ Graphics::Surface *OSystem_DS::createTempFrameBuffer() { _framebuffer.h = DS::getGameHeight(); _framebuffer.pitch = DS::getGameWidth(); _framebuffer.bytesPerPixel = 1; + _framebuffer.format = Graphics::PixelFormat::createFormatCLUT8(); } else { @@ -782,6 +783,7 @@ Graphics::Surface *OSystem_DS::createTempFrameBuffer() { _framebuffer.h = height; _framebuffer.pitch = width; _framebuffer.bytesPerPixel = 1; + _framebuffer.format = Graphics::PixelFormat::createFormatCLUT8(); } |