diff --git a/source/common/common.h b/source/common/common.h index c59c5df..6e9c03c 100644 --- a/source/common/common.h +++ b/source/common/common.h @@ -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" diff --git a/source/nand/agbsave.c b/source/nand/agbsave.c index 5d7e563..bd32c4a 100644 --- a/source/nand/agbsave.c +++ b/source/nand/agbsave.c @@ -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; }