Skip to content

Commit

Permalink
WAGE: Fixed screen size
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Dec 27, 2015
1 parent 57648a2 commit 057753a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engines/wage/wage.cpp
Expand Up @@ -87,7 +87,7 @@ static byte palette[] = {
};

Common::Error WageEngine::run() {
initGraphics(640, 400, true);
initGraphics(640, 480, true);

g_system->getPaletteManager()->setPalette(palette, 0, 3);

Expand All @@ -106,7 +106,7 @@ Common::Error WageEngine::run() {
return Common::kNoGameDataFoundError;

Graphics::Surface screen;
screen.create(640, 400, Graphics::PixelFormat::createFormatCLUT8());
screen.create(640, 480, Graphics::PixelFormat::createFormatCLUT8());
Common::Rect r(0, 0, screen.w, screen.h);
_world->_scenes["entry"]->_design->setBounds(&r);
_world->_scenes["entry"]->_design->paint(&screen, _world->_patterns, false);
Expand Down

0 comments on commit 057753a

Please sign in to comment.