diff options
author | uruk | 2014-08-03 12:15:07 +0200 |
---|---|---|
committer | uruk | 2014-08-03 12:15:07 +0200 |
commit | 61083e5caba5d28689aaec8fd1f912df37eb0cf0 (patch) | |
tree | b68f65959b618632ea29453c822ce023b399ac6c | |
parent | 00bb645e5411d00fb3cfe7bbbe530507d5157a23 (diff) | |
download | scummvm-rg350-61083e5caba5d28689aaec8fd1f912df37eb0cf0.tar.gz scummvm-rg350-61083e5caba5d28689aaec8fd1f912df37eb0cf0.tar.bz2 scummvm-rg350-61083e5caba5d28689aaec8fd1f912df37eb0cf0.zip |
CGE2: Add RTL support.
-rw-r--r-- | engines/cge2/cge2.cpp | 3 | ||||
-rw-r--r-- | engines/cge2/cge2_main.cpp | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/engines/cge2/cge2.cpp b/engines/cge2/cge2.cpp index f938b8b87f..9c16bd4e0c 100644 --- a/engines/cge2/cge2.cpp +++ b/engines/cge2/cge2.cpp @@ -186,7 +186,8 @@ void CGE2Engine::deinit() { } bool CGE2Engine::hasFeature(EngineFeature f) const { - return (f == kSupportsLoadingDuringRuntime) || (f == kSupportsSavingDuringRuntime); + return (f == kSupportsLoadingDuringRuntime) || (f == kSupportsSavingDuringRuntime) + || (f == kSupportsRTL); } Common::Error CGE2Engine::run() { diff --git a/engines/cge2/cge2_main.cpp b/engines/cge2/cge2_main.cpp index e945fbfdec..a7cbe01c74 100644 --- a/engines/cge2/cge2_main.cpp +++ b/engines/cge2/cge2_main.cpp @@ -645,6 +645,8 @@ void CGE2Engine::runGame() { _commandHandler->addCommand(kCmdClear, -1, 0, nullptr); _commandHandlerTurbo->addCommand(kCmdClear, -1, 0, nullptr); _mouse->off(); + + _vga->sunset(); } void CGE2Engine::loadUser() { |