aboutsummaryrefslogtreecommitdiff
path: root/backends/fs
diff options
context:
space:
mode:
authorHubert Maier2019-10-08 08:52:48 +0200
committerFilippos Karapetis2019-10-08 11:32:30 +0300
commit3d60bee8a4dbdace7e51f893cf9a1af551c1989c (patch)
tree41fe0ef9d8bf7a1e90bd19df62ee488daff8935a /backends/fs
parent6dd67641f1d22a311bb77a7a896f959bde2ecf9d (diff)
downloadscummvm-rg350-3d60bee8a4dbdace7e51f893cf9a1af551c1989c.tar.gz
scummvm-rg350-3d60bee8a4dbdace7e51f893cf9a1af551c1989c.tar.bz2
scummvm-rg350-3d60bee8a4dbdace7e51f893cf9a1af551c1989c.zip
JANITORIAL: Add more info to track it down later
Diffstat (limited to 'backends/fs')
-rw-r--r--backends/fs/amigaos4/amigaos4-fs.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/backends/fs/amigaos4/amigaos4-fs.cpp b/backends/fs/amigaos4/amigaos4-fs.cpp
index 1e7584062c..c6261cf39d 100644
--- a/backends/fs/amigaos4/amigaos4-fs.cpp
+++ b/backends/fs/amigaos4/amigaos4-fs.cpp
@@ -69,6 +69,10 @@ AmigaOSFilesystemNode::AmigaOSFilesystemNode() {
AmigaOSFilesystemNode::AmigaOSFilesystemNode(const Common::String &p) {
ENTER();
+ // WORKAROUND:
+ // This is a bug in AmigaOS4 newlib.library 53.30 and lower.
+ // It will be removed once a fixed version is available to public.
+ // DESCRIPTION:
// We need to explicitly open dos.library and its IDOS interface.
// Otherwise we will hit an IDOS NULL pointer after compiling a
// shared binary with (shared) plugins.
@@ -113,6 +117,7 @@ AmigaOSFilesystemNode::AmigaOSFilesystemNode(const Common::String &p) {
IDOS->FreeDosObject(DOS_EXAMINEDATA, pExd);
}
+ // WORKAROUND:
// Close dos.library and its IDOS interface again.
IExec->DropInterface((struct Interface *)IDOS);
IExec->CloseLibrary(DOSBase);