Default all files to Access Can destroy/rename/write/read

This commit is contained in:
michaelangel007 2023-04-06 19:12:49 -07:00
parent 44522562ba
commit ac9487c04f
1 changed files with 8 additions and 0 deletions

View File

@ -279,6 +279,14 @@ if( block == PRODOS_ROOT_BLOCK )
void prodos_InitFileHeader( ProDOS_FileHeader_t *entry )
{
memset( entry, 0, sizeof( ProDOS_FileHeader_t ) );
// Default ot Read/Write/Rename/Destroy
entry->access = 0
| ACCESS_D
| ACCESS_N
| ACCESS_W
| ACCESS_R
;
}
// Globals ________________________________________________________________