Find workaround for pheadSaveFile hack

This commit is contained in:
Ryan Dwyer 2023-04-14 20:55:19 +10:00
parent ea772c439b
commit 8e131f3aa4
2 changed files with 7 additions and 7 deletions

View File

@ -3278,8 +3278,8 @@ s32 pheadSaveFile(s8 device, s32 fileid, u16 serial)
thing->unk3f4_03 = true;
}
file.unk8e_00 = thing->unk3f4_01 & 0xff & 0xff & 0xff & 0xff & 0xff & 0xff & 0xff & 0xff & 0xff;
file.unk8e_01 = thing->unk3f4_02 & 0xff & 0xff & 0xff & 0xff & 0xff & 0xff & 0xff & 0xff & 0xff & 0xff & 0xff & 0xff & 0xff & 0xff & 0xff & 0xff & 0xff;
file.unk8e_00 = thing->unk3f4_01;
file.unk8e_01 = thing->unk3f4_02;
file.unk8e_02 = thing->unk3a4;
file.unk82 = thing->unk3bc;

View File

@ -6185,11 +6185,11 @@ struct var8007f8e0 { // perfect head?
/*0x3d0*/ f32 unk3d0[7];
/*0x3ec*/ s32 unk3ec;
/*0x3f0*/ s32 unk3f0;
/*0x3f4*/ u32 unk3f4_00 : 1;
/*0x3f4*/ u32 unk3f4_01 : 1;
/*0x3f4*/ u32 unk3f4_02 : 1;
/*0x3f4*/ u32 unk3f4_03 : 1;
/*0x3f4*/ u32 unk3f4_04 : 1;
/*0x3f4*/ u16 unk3f4_00 : 1;
/*0x3f4*/ u16 unk3f4_01 : 1;
/*0x3f4*/ u16 unk3f4_02 : 1;
/*0x3f4*/ u16 unk3f4_03 : 1;
/*0x3f4*/ u16 unk3f4_04 : 1;
/*0x3f8*/ struct fileguid fileguid;
};