mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 13:42:47 +00:00
Fix a typo in AGBSAVE handling
This commit is contained in:
parent
d0785b12d1
commit
640c65f18d
@ -38,7 +38,7 @@
|
||||
(((v) % (a)) ? ((v) + (a) - ((v) % (a))) : (v))
|
||||
|
||||
// GodMode9 version
|
||||
#define VERSION "0.9.3"
|
||||
#define VERSION "0.9.4"
|
||||
|
||||
// input / output paths
|
||||
#define INPUT_PATHS "0:", "0:/files9", "1:/rw/files9"
|
||||
|
@ -44,5 +44,5 @@ u32 FixAgbSaveCmac(u32 nand_dst) {
|
||||
// https://www.3dbrew.org/wiki/CONFIG_Registers#CFG_BOOTENV
|
||||
*(u32*) 0x10010000 = 0x7;
|
||||
|
||||
return (WriteNandSectors((u8*) agbsave, SECTOR_AGBSAVE, 1, 0x07, nand_dst) != 0) ? 0 : 1;
|
||||
return (WriteNandSectors((u8*) agbsave, SECTOR_AGBSAVE, 1, 0x07, nand_dst) == 0) ? 0 : 1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user