Fix Action Replay DS code type 0xE (Patch #163)

git-svn-id: https://svn.code.sf.net/p/desmume/code/trunk@5047 5577840e-afb3-4e59-9ef3-2b7f898b1952
apply patch #164 to screenshot path building format

git-svn-id: https://svn.code.sf.net/p/desmume/code/trunk@5048 5577840e-afb3-4e59-9ef3-2b7f898b1952
fix bugs from r4926 (off-by-one error in out-of-range rom-reading check). possibly broke the last u32 in the rom. fixes bug #1406 (phantasy star 0 CHS translation black screen freeze)

git-svn-id: https://svn.code.sf.net/p/desmume/code/trunk@5049 5577840e-afb3-4e59-9ef3-2b7f898b1952
savestate gamecode printing was endian-wrong

git-svn-id: https://svn.code.sf.net/p/desmume/code/trunk@5050 5577840e-afb3-4e59-9ef3-2b7f898b1952
fix bug loading gba roms with no .sav file (fixes bug #1431)

git-svn-id: https://svn.code.sf.net/p/desmume/code/trunk@5051 5577840e-afb3-4e59-9ef3-2b7f898b1952
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