diff options
-rw-r--r-- | scumm/scumm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scumm/scumm.h b/scumm/scumm.h index 22a9ae5971..920af87abe 100644 --- a/scumm/scumm.h +++ b/scumm/scumm.h @@ -284,6 +284,9 @@ public: const char *getGameDataPath() const { if (_features & GF_AFTER_V8) { static char resourcePath[256]; + if (_gameDataPath[0] == '\0') + return "resource"; + sprintf(resourcePath, "%s/resource", _gameDataPath); return resourcePath; } |