aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/icons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agos/icons.cpp')
-rw-r--r--engines/agos/icons.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/agos/icons.cpp b/engines/agos/icons.cpp
index 641e79e4a6..c0ca9c67fe 100644
--- a/engines/agos/icons.cpp
+++ b/engines/agos/icons.cpp
@@ -56,6 +56,14 @@ void AGOSEngine::loadIconFile() {
decrunchFile(srcBuf, _iconFilePtr, srcSize);
free(srcBuf);
+ } else if (getGameType() == GType_PN && getPlatform() == Common::kPlatformAtariST) {
+ // The icon data is hard coded in the program file.
+ _iconFilePtr = (byte *)malloc(15038);
+ if (_iconFilePtr == NULL)
+ error("Out of icon memory");
+
+ in.seek(48414);
+ in.read(_iconFilePtr, 15038);
} else {
_iconFilePtr = (byte *)malloc(srcSize);
if (_iconFilePtr == NULL)