Fork of desmume with some changes