Small fixes in Atari ST.

This commit is contained in:
2021-04-25 20:05:16 +01:00
parent f59b7ea474
commit 52d8ba6126
4 changed files with 4 additions and 4 deletions

View File

@@ -29,7 +29,7 @@ struct _stemu_vars
{
int16_t version; /* e.g. 0x0121 Version 1.21 */
int32_t unused; /* 0, currently not used */
}
};
struct _tos2win_vars
{

View File

@@ -39,7 +39,7 @@ void FilePermissions(const char* path)
{
long** cookieJar = _p_cookies;
long cookie;
int rc, cRc;
int rc, cRc, i;
FILE* file;
char driveNo = path[0] - '@';

View File

@@ -29,7 +29,7 @@ typedef struct
{
char filename[256];
char description[256];
mode_t mode;
short mode;
} atari_perms_tests_t;
#define KNOWN_ATARI_PERMS 14

View File

@@ -75,7 +75,7 @@ void GetVolumeInfo(const char* path, size_t* clusterSize)
if(rc == E_OK)
{
log_write("\tFilesystem name: %s", fsInfo.name);
log_write("\tFilesystem version: %d.%02d", (fsInfo.version & 0xFFFF0000) >> 16, fsInfo & 0xFFFF);
log_write("\tFilesystem version: %d.%02d", (fsInfo.version & 0xFFFF0000) >> 16, fsInfo.version & 0xFFFF);
log_write("\tFilesystem type: %d (%s)", fsInfo.type, fsInfo.type_asc);
}
else