diff options
Diffstat (limited to 'engines/game.cpp')
-rw-r--r-- | engines/game.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/game.cpp b/engines/game.cpp index 5011685412..3e6cdc2e79 100644 --- a/engines/game.cpp +++ b/engines/game.cpp @@ -115,6 +115,10 @@ void SaveStateDescriptor::setDeletableFlag(bool state) { setVal("is_deletable", state ? "true" : "false"); } +void SaveStateDescriptor::setWriteProtectedFlag(bool state) { + setVal("is_write_protected", state ? "true" : "false"); +} + void SaveStateDescriptor::setSaveDate(int year, int month, int day) { char buffer[32]; snprintf(buffer, 32, "%.2d.%.2d.%.4d", day, month, year); |