diff options
author | John Willis | 2010-10-12 07:50:33 +0000 |
---|---|---|
committer | John Willis | 2010-10-12 07:50:33 +0000 |
commit | 4f4ade6276d3b3263b5f62534da4d208bbd5ca1f (patch) | |
tree | b787574f2e93e24cde9680acf92ecd2f69731fa3 /backends/platform/openpandora/op-graphics.cpp | |
parent | 54b2a8c98df204dfe64a27fc830936ec62e3f9ed (diff) | |
download | scummvm-rg350-4f4ade6276d3b3263b5f62534da4d208bbd5ca1f.tar.gz scummvm-rg350-4f4ade6276d3b3263b5f62534da4d208bbd5ca1f.tar.bz2 scummvm-rg350-4f4ade6276d3b3263b5f62534da4d208bbd5ca1f.zip |
OPENPANDORA: Add latest backend code from branch-1-2-0.
* Ooops, forgot to sync this with HEAD. Sorry about that.
svn-id: r53162
Diffstat (limited to 'backends/platform/openpandora/op-graphics.cpp')
-rwxr-xr-x | backends/platform/openpandora/op-graphics.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/backends/platform/openpandora/op-graphics.cpp b/backends/platform/openpandora/op-graphics.cpp index 4abe034ae4..ef95f52e99 100755 --- a/backends/platform/openpandora/op-graphics.cpp +++ b/backends/platform/openpandora/op-graphics.cpp @@ -24,9 +24,19 @@ */ #include "backends/platform/openpandora/op-sdl.h" +#include "common/mutex.h" +#include "common/translation.h" +#include "common/util.h" + +#include "graphics/scaler/aspect.h" +#include "graphics/surface.h" bool OSystem_OP::loadGFXMode() { - _videoMode.overlayWidth = 800; + /* FIXME: For now we just cheat and set the overlay to 640*480 not 800*480 and let SDL + deal with the boarders (it saves cleaning up the overlay when the game screen is + smaller than the overlay ;) + */ + _videoMode.overlayWidth = 640; _videoMode.overlayHeight = 480; _videoMode.fullscreen = true; |