File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ extern vu8 D_80121214;
155155
156156extern s32 (* D_801D2E54 )(struct_801E0D18 * );
157157
158- extern u8 B_801DC000 [];
158+ extern u8 gN64DDDiskReadTemporaryBuffer [];
159159
160160extern s32 D_801D2E90 ;
161161extern OSMesgQueue * B_801E0D10 [2 ];
Original file line number Diff line number Diff line change 11#include "n64dd.h"
22
3- // Buffer used for reading from the disk?
4- u8 B_801DC000 [0x4D10 ];
3+ // Buffer used during the process of reading from the disk
4+ // Used to directly read individual LBAs/blocks from the disk before copying to the final destination
5+ // As blocks/LBAs are read directly into this buffer from the disk, it has to be 16-byte aligned
6+ ALIGNED (16 ) u8 gN64DDDiskReadTemporaryBuffer [MAX_BLK_SIZE ];
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ typedef struct struct_801D9B90 {
3636
3737s32 func_801C7A1C (struct_801E0D18 * arg0 );
3838
39- void * D_801D2E50 = & B_801DC000 ;
39+ void * D_801D2E50 = & gN64DDDiskReadTemporaryBuffer ;
4040s32 (* D_801D2E54 )(struct_801E0D18 * ) = func_801C7A1C ;
4141
4242struct_801D9B90 B_801D9B90 ;
You can’t perform that action at this time.
0 commit comments