diff options
author | Hubert Maier | 2019-11-10 15:56:03 +0100 |
---|---|---|
committer | David Turner | 2019-11-10 17:28:15 +0000 |
commit | 86ba632fe0963acd98fd94be5ddd56ae01a5e273 (patch) | |
tree | c8c3c6fb7366e9653b0081bddfe6b9daaa626c63 | |
parent | 2afb56cdf4f21e67a60b25501a4cc128b6968775 (diff) | |
download | scummvm-rg350-86ba632fe0963acd98fd94be5ddd56ae01a5e273.tar.gz scummvm-rg350-86ba632fe0963acd98fd94be5ddd56ae01a5e273.tar.bz2 scummvm-rg350-86ba632fe0963acd98fd94be5ddd56ae01a5e273.zip |
AMIGAOS4: more verbose debug comments
-rw-r--r-- | backends/fs/amigaos4/amigaos4-fs.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/backends/fs/amigaos4/amigaos4-fs.cpp b/backends/fs/amigaos4/amigaos4-fs.cpp index 5f77590f3c..d8405863d1 100644 --- a/backends/fs/amigaos4/amigaos4-fs.cpp +++ b/backends/fs/amigaos4/amigaos4-fs.cpp @@ -57,7 +57,7 @@ const char *lastPathComponent(const Common::String &str) { AmigaOSFilesystemNode::AmigaOSFilesystemNode() { ENTER(); - _sDisplayName = "Available Disks"; + _sDisplayName = "Available HDDs/Partitions"; _bIsValid = true; _bIsDirectory = true; _sPath = ""; @@ -140,7 +140,7 @@ AmigaOSFilesystemNode::AmigaOSFilesystemNode(BPTR pLock, const char *pDisplayNam if (IDOS->IoErr() != ERROR_LINE_TOO_LONG) { _bIsValid = false; - debug(6, "IoErr() != ERROR_LINE_TOO_LONG"); + debug(6, "IDOS->IoErr() failed - ERROR_LINE_TOO_LONG not matched!"); LEAVE(); delete[] n; return; @@ -173,7 +173,7 @@ AmigaOSFilesystemNode::AmigaOSFilesystemNode(BPTR pLock, const char *pDisplayNam IDOS->FreeDosObject(DOS_EXAMINEDATA, pExd); } else { - debug(6, "ExamineObject() returned NULL!"); + debug(6, "IDOS->ExamineData() failed - ExamineDosObject returned NULL!"); } LEAVE(); @@ -274,13 +274,13 @@ bool AmigaOSFilesystemNode::getChildren(AbstractFSList &myList, ListMode mode, b return true; } - APTR context = IDOS->ObtainDirContextTags( EX_FileLockInput, _pFileLock, - EX_DoCurrentDir, TRUE, /* for softlinks */ - EX_DataFields, (EXF_NAME|EXF_LINK|EXF_TYPE), - TAG_END); + APTR context = IDOS->ObtainDirContextTags( EX_FileLockInput, _pFileLock, + EX_DoCurrentDir, TRUE, /* for softlinks */ + EX_DataFields, (EXF_NAME|EXF_LINK|EXF_TYPE), + TAG_END); if (context) { struct ExamineData * pExd = NULL; // No need to free the value after usage, everything - // will be dealt with by the DirContext release. + // will be dealt with by the DirContext release. AmigaOSFilesystemNode *entry; while ( (pExd = IDOS->ExamineDir(context)) ) { @@ -311,7 +311,7 @@ bool AmigaOSFilesystemNode::getChildren(AbstractFSList &myList, ListMode mode, b IDOS->ReleaseDirContext(context); } else { - debug(6, "Unable to ObtainDirContext!"); + debug(6, "IDOS->ObtainDirContext() failed!"); ret = false; } @@ -390,7 +390,7 @@ AbstractFSList AmigaOSFilesystemNode::listVolumes() const { struct DosList *dosList = IDOS->LockDosList(kLockFlags); if (!dosList) { - debug(6, "Cannot LockDOSList!"); + debug(6, "IDOS->LockDOSList() failed!"); LEAVE(); return myList; } |