fix obvious crashy bug in NAND cards when booting from firmware, but for some reason the card isn't detected still.

git-svn-id: https://svn.code.sf.net/p/desmume/code/trunk@5052 5577840e-afb3-4e59-9ef3-2b7f898b1952
improve previous commit, which was just plain buggy. now card is detected again. but... the game crashes when trying to boot.

git-svn-id: https://svn.code.sf.net/p/desmume/code/trunk@5053 5577840e-afb3-4e59-9ef3-2b7f898b1952
fix regression within past 2 commits of launching any game from firmware

git-svn-id: https://svn.code.sf.net/p/desmume/code/trunk@5054 5577840e-afb3-4e59-9ef3-2b7f898b1952