diff options
author | Paul Gilbert | 2018-12-14 19:30:43 -0800 |
---|---|---|
committer | Paul Gilbert | 2018-12-14 19:30:43 -0800 |
commit | 6202b366065dc71eec988042428b44f0d05686e7 (patch) | |
tree | 63d117a2752abce2ab09087213054aa5f354229e /engines/glk/blorb.cpp | |
parent | bfae9bd21bf7f2edc3648ea53a24bf54c4274012 (diff) | |
download | scummvm-rg350-6202b366065dc71eec988042428b44f0d05686e7.tar.gz scummvm-rg350-6202b366065dc71eec988042428b44f0d05686e7.tar.bz2 scummvm-rg350-6202b366065dc71eec988042428b44f0d05686e7.zip |
GLK: SCOTT: Add support for Mysterious Adventures Blorb files
Diffstat (limited to 'engines/glk/blorb.cpp')
-rw-r--r-- | engines/glk/blorb.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/glk/blorb.cpp b/engines/glk/blorb.cpp index 1f95919401..ce86dee5f7 100644 --- a/engines/glk/blorb.cpp +++ b/engines/glk/blorb.cpp @@ -183,7 +183,8 @@ Common::ErrorCode Blorb::load() { (_interpType == INTERPRETER_GLULXE && type == "GLUL") || (_interpType == INTERPRETER_TADS2 && type == "TAD2") || (_interpType == INTERPRETER_TADS3 && type == "TAD3") || - (_interpType == INTERPRETER_HUGO && type == "HUGO") + (_interpType == INTERPRETER_HUGO && type == "HUGO") || + (_interpType == INTERPRETER_SCOTT && type == "SAAI") ) { // Game executable ce._filename = "game"; @@ -196,4 +197,9 @@ Common::ErrorCode Blorb::load() { return Common::kNoError; } +bool Blorb::isBlorb(const Common::String &filename) { + return filename.hasSuffixIgnoreCase(".blorb") || filename.hasSuffixIgnoreCase(".zblorb") + || filename.hasSuffixIgnoreCase(".gblorb") || filename.hasSuffixIgnoreCase(".blb"); +} + } // End of namespace Glk |