I can't link to the sources currently (I'm using the DSi Browser), but some emulators that have sources available are: nesDS (NES), SnemulDS (SNES), and PicoDriveDS (Genesis). SnemulDS has a bountysource page, while the source for PicoDriveDS is located at the author's page. I don't remember where the nesDS source is though.