Rebasing of Desmume based on Desmume SVN mainline.