Skip to content

Commit a7edbaa

Browse files
committed
increasing this size seem sane
1 parent 3dca7dd commit a7edbaa

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

orbisFSTool/OrbisFSFormat.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ typedef struct {
5959
uint64_t unk1_is_2; //is expected to be 2
6060
uint64_t unk2_is_0x40; //is expected to be 0x40
6161
uint64_t unk3_is_0; //is expected to be 0
62-
char devpath[0x10];
63-
uint8_t _pad1[0xf0];
62+
char devpath[0x100];
6463
uint32_t inodesInRootFolder;//all the child iNodes inside /
6564
uint32_t unk5_is_0xffffffff;//is expected to be 0xFFFFFFFF
6665
uint32_t numInodeSlots; //highest used iNode is numInodeSlots-1

orbisFSTool/OrbisFSImage.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,6 @@ void OrbisFSImage::init(){
201201
retassure(_diskinfoblock->unk1_is_2 == 2, "unexpected value for unk1");
202202
retassure(_diskinfoblock->unk2_is_0x40 == 0x40, "unexpected value for unk2");
203203
retassure(_diskinfoblock->unk3_is_0 == 0, "unexpected value for unk3");
204-
retassure(memvcmp(_diskinfoblock->_pad1, sizeof(_diskinfoblock->_pad1), 0x00), "_pad1 is not zero");
205204
retassure(_diskinfoblock->unk5_is_0xffffffff == 0xFFFFFFFF, "unexpected value for unk5");
206205
retassure(memvcmp(_diskinfoblock->_pad2, sizeof(_diskinfoblock->_pad2), 0x00), "_pad2 is not zero");
207206
retassure(!memcmp(&_diskinfoblock->diskinfoLnk, &_superblock->diskinfoLnk, sizeof(_superblock->diskinfoLnk)), "diskinfoLnk mismatch between superblock and diskinfoblock");

0 commit comments

Comments
 (0)