mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Reformat all the things!
This commit is contained in:
parent
d27e85e9d7
commit
40bb9974f2
179 changed files with 1888 additions and 991 deletions
|
@ -233,17 +233,17 @@ bool SDCardCreate(u64 disk_size /*in MB*/, const std::string& filename)
|
|||
}
|
||||
|
||||
/* Here's the layout:
|
||||
*
|
||||
* boot_sector
|
||||
* fsinfo_sector
|
||||
* empty
|
||||
* backup boot sector
|
||||
* backup fsinfo sector
|
||||
* RESERVED_SECTORS - 4 empty sectors (if backup sectors), or RESERVED_SECTORS - 2 (if no backup)
|
||||
* first fat
|
||||
* second fat
|
||||
* zero sectors
|
||||
*/
|
||||
*
|
||||
* boot_sector
|
||||
* fsinfo_sector
|
||||
* empty
|
||||
* backup boot sector
|
||||
* backup fsinfo sector
|
||||
* RESERVED_SECTORS - 4 empty sectors (if backup sectors), or RESERVED_SECTORS - 2 (if no backup)
|
||||
* first fat
|
||||
* second fat
|
||||
* zero sectors
|
||||
*/
|
||||
|
||||
if (write_sector(f, s_boot_sector))
|
||||
goto FailWrite;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue