Skip to content

Commit

Permalink
Actually allow to write GW type EmuNANDs again
Browse files Browse the repository at this point in the history
  • Loading branch information
d0k3 committed Mar 10, 2016
1 parent 621da18 commit acd67df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/emunand9.c
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ u32 InjectNand(u32 param)
u8* buffer = BUFFER_ADDRESS;
u32 nand_size = getMMCDevice(0)->total_size * NAND_SECTOR_SIZE;
u32 nand_size_min = (nand_size >= 0x4D800000) ? 0x4D800000 : 0x3AF00000;
u32 write_dest = (param & (N_EMUNAND|N_WREDNAND)) ? WR_EMUNAND_REDNAND : WR_EMUNAND_GATEWAY; // we won't write to SysNAND
u32 write_dest = (param & N_WREDNAND) ? WR_EMUNAND_REDNAND : WR_EMUNAND_GATEWAY; // we won't write to SysNAND, so this option is not included
u32 result = 0;
u8 magic[4];

Expand Down

0 comments on commit acd67df

Please sign in to comment.