Skip to content

Commit

Permalink
AGI: Make it possible to also force CGA/EGA/VGA
Browse files Browse the repository at this point in the history
...rendering
  • Loading branch information
Martin Kiewitz committed Feb 5, 2016
1 parent 04de727 commit eaf0aeb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions engines/agi/agi.cpp
Expand Up @@ -314,6 +314,15 @@ void AgiBase::initRenderMode() {

// If render mode is explicitly set, force rendermode
switch (configRenderMode) {
case Common::kRenderCGA:
_renderMode = Common::kRenderCGA;
break;
case Common::kRenderEGA:
_renderMode = Common::kRenderEGA;
break;
case Common::kRenderVGA:
_renderMode = Common::kRenderVGA;
break;
case Common::kRenderAmiga:
_renderMode = Common::kRenderAmiga;
break;
Expand Down

0 comments on commit eaf0aeb

Please sign in to comment.