aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorHubert Maier2019-11-09 20:16:02 +0100
committerDavid Turner2019-11-10 17:28:15 +0000
commitdb367845d3c24d51df2bf07cc4686bc92d05fc8d (patch)
tree31aa6600b3bb7517ab92318e1718503dd3a475ad /backends
parent072e80580be4a38e5c58a48a397335095ee5a846 (diff)
downloadscummvm-rg350-db367845d3c24d51df2bf07cc4686bc92d05fc8d.tar.gz
scummvm-rg350-db367845d3c24d51df2bf07cc4686bc92d05fc8d.tar.bz2
scummvm-rg350-db367845d3c24d51df2bf07cc4686bc92d05fc8d.zip
AmigaOS4: More fixes and cleaning
Diffstat (limited to 'backends')
-rw-r--r--backends/fs/amigaos4/amigaos4-fs.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/backends/fs/amigaos4/amigaos4-fs.cpp b/backends/fs/amigaos4/amigaos4-fs.cpp
index a6812a27ba..5f77590f3c 100644
--- a/backends/fs/amigaos4/amigaos4-fs.cpp
+++ b/backends/fs/amigaos4/amigaos4-fs.cpp
@@ -223,7 +223,6 @@ bool AmigaOSFilesystemNode::exists() const {
// IDOS->FreeDosObject(DOS_FIB, fib);
//
// ============================= New code
-
BPTR pLock = IDOS->Lock(_sPath.c_str(), SHARED_LOCK);
if (pLock) {
nodeExists = true;
@@ -391,7 +390,7 @@ AbstractFSList AmigaOSFilesystemNode::listVolumes() const {
struct DosList *dosList = IDOS->LockDosList(kLockFlags);
if (!dosList) {
- debug(6, "Cannot lock DOS list!");
+ debug(6, "Cannot LockDOSList!");
LEAVE();
return myList;
}