Skip to content
Permalink
Browse files

JANITORIAL: Add more info to track it down later

  • Loading branch information...
raziel- authored and bluegr committed Oct 8, 2019
1 parent 6dd6764 commit 3d60bee8a4dbdace7e51f893cf9a1af551c1989c
Showing with 5 additions and 0 deletions.
  1. +5 −0 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);

0 comments on commit 3d60bee

Please sign in to comment.
You can’t perform that action at this time.