Fix a typo in AGBSAVE handling

This commit is contained in:
d0k3 2017-01-05 03:19:06 +01:00
parent d0785b12d1
commit 640c65f18d
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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;
}