aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorwhiterandrek2018-05-25 21:17:07 +0300
committerEugene Sandulenko2018-06-28 23:51:32 +0200
commitfa96cc41f8e2c78364ff58d29dd1a5f60c9d7fdb (patch)
tree29b5c69f5086310221615a0b6a840f86a0519507 /engines
parent1df85834a80a96150fca43aa764dc670d3d71162 (diff)
downloadscummvm-rg350-fa96cc41f8e2c78364ff58d29dd1a5f60c9d7fdb.tar.gz
scummvm-rg350-fa96cc41f8e2c78364ff58d29dd1a5f60c9d7fdb.tar.bz2
scummvm-rg350-fa96cc41f8e2c78364ff58d29dd1a5f60c9d7fdb.zip
PINK: add RTL feature
Diffstat (limited to 'engines')
-rw-r--r--engines/pink/pink.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/engines/pink/pink.cpp b/engines/pink/pink.cpp
index edbf8d93e0..df630f18c7 100644
--- a/engines/pink/pink.cpp
+++ b/engines/pink/pink.cpp
@@ -88,10 +88,10 @@ Common::Error PinkEngine::init() {
_orb.loadGame(this);
- if (ConfMan.hasKey("save_slot")) {
+ if (ConfMan.hasKey("save_slot"))
loadGameState(ConfMan.getInt("save_slot"));
- }
- else initModule(_modules[0]->getName(), "", nullptr);
+ else
+ initModule(_modules[0]->getName(), "", nullptr);
return Common::kNoError;
}
@@ -287,8 +287,10 @@ bool PinkEngine::canSaveGameStateCurrently() {
}
bool PinkEngine::hasFeature(Engine::EngineFeature f) const {
- return f == kSupportsLoadingDuringRuntime ||
- f == kSupportsSavingDuringRuntime;
+ return
+ f == kSupportsRTL ||
+ f == kSupportsLoadingDuringRuntime ||
+ f == kSupportsSavingDuringRuntime;
}
void PinkEngine::pauseEngineIntern(bool pause) {