From 76835f023db03aef20c74541fb2a8a9485206cf7 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 1 Sep 2024 15:38:05 +0200 Subject: Added new fields for the OS inside handover header. Signed-off-by: Amlal El Mahrouss --- dev/ZKA/Sources/FS/NewFS.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'dev/ZKA/Sources') diff --git a/dev/ZKA/Sources/FS/NewFS.cxx b/dev/ZKA/Sources/FS/NewFS.cxx index edec6a6e..43cc22b5 100644 --- a/dev/ZKA/Sources/FS/NewFS.cxx +++ b/dev/ZKA/Sources/FS/NewFS.cxx @@ -62,8 +62,7 @@ STATIC MountpointInterface sMountpointInterface; _Output NFS_FORK_STRUCT* NewFSParser::CreateFork(_Input NFS_CATALOG_STRUCT* catalog, _Input NFS_FORK_STRUCT& theFork) { - if (catalog && theFork.ForkName[0] != 0 && - theFork.DataSize <= kNewFSForkSz) + if (catalog && theFork.ForkName[0] != 0) { Lba lba = (theFork.Kind == kNewFSDataForkKind) ? catalog->DataFork : catalog->ResourceFork; @@ -710,7 +709,7 @@ bool NewFSParser::WriteCatalog(_Input _Output NFS_CATALOG_STRUCT* catalog, Bool prevFork = *forkDataIn; - startFork = forkDataIn->NextSibling + forkDataIn->DataSize; + startFork = forkDataIn->NextSibling; } return false; -- cgit v1.2.3