diff options
Diffstat (limited to 'engines/agi/agi_v3.cpp')
-rw-r--r-- | engines/agi/agi_v3.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/agi/agi_v3.cpp b/engines/agi/agi_v3.cpp index a2aac6bc86..f282cfbbe5 100644 --- a/engines/agi/agi_v3.cpp +++ b/engines/agi/agi_v3.cpp @@ -122,7 +122,12 @@ int AgiLoader_v3::init() { Common::File fp; Common::String path; - path = Common::String(_vm->_game.name) + DIR_; + if (_vm->getPlatform() == Common::kPlatformAmiga) { + path = Common::String("dirs"); + _vm->_game.name[0] = 0; // Empty prefix + } else { + path = Common::String(_vm->_game.name) + DIR_; + } if (!fp.open(path)) { printf("Failed to open \"%s\"\n", path.c_str()); |