Skip to content
Permalink
Browse files

JANITORIAL: English and spacing

  • Loading branch information...
raziel- authored and bluegr committed Oct 8, 2019
1 parent 7525be6 commit 6dd67641f1d22a311bb77a7a896f959bde2ecf9d
Showing with 6 additions and 6 deletions.
  1. +6 −6 backends/fs/amigaos4/amigaos4-fs.cpp
@@ -69,12 +69,12 @@ AmigaOSFilesystemNode::AmigaOSFilesystemNode() {
AmigaOSFilesystemNode::AmigaOSFilesystemNode(const Common::String &p) {
ENTER();

// We need to explicitely open dos.library and it's IDOS interface.
// Otherwise we will hit an IDOS NULL pointer after compiling a shared
// binary with (shared) plugins.
// 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.
// The hit will happen on loading a game from any engine, if more
// than one engine/plugin is available.
DOSBase=IExec->OpenLibrary("dos.library",0);
// than one engine/(shared) plugin is available.
DOSBase = IExec->OpenLibrary("dos.library", 0);
IDOS = (struct DOSIFace *)IExec->GetInterface(DOSBase, "main", 1, NULL);

int offset = p.size();
@@ -113,7 +113,7 @@ AmigaOSFilesystemNode::AmigaOSFilesystemNode(const Common::String &p) {
IDOS->FreeDosObject(DOS_EXAMINEDATA, pExd);
}

// Close dos.library and it's IDOS interface again.
// Close dos.library and its IDOS interface again.
IExec->DropInterface((struct Interface *)IDOS);
IExec->CloseLibrary(DOSBase);

0 comments on commit 6dd6764

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