Skip to content

Commit

Permalink
Allow restoring proper NAND images (bugfix)
Browse files Browse the repository at this point in the history
  • Loading branch information
d0k3 committed Mar 26, 2016
1 parent 2ef6535 commit 1a30cc3
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 @@ -398,7 +398,7 @@ u32 InjectNand(u32 param)
FileClose();
return 1;
}
if (IS_NAND_HEADER(buffer)) {
if (!IS_NAND_HEADER(buffer)) {
FileClose();
Debug("Not a proper NAND dump!");
return 1;
Expand Down

2 comments on commit 1a30cc3

@mariogamer2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have a little question...
I'm thinking about switching to RedNAND,does the switch of EmuNAND => RedNAND will corupt some data or anything ?

@d0k3
Copy link
Owner Author

@d0k3 d0k3 commented on 1a30cc3 Mar 28, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it would, I would have done it wrong, don't you think? ;) You should ask stuff like that in thread, though. And still, make backups, just in case!

Please sign in to comment.