Just tested the example on no$gba and it works fine here.
I'm @work now so I can't test on real hardware
Out of curiosity, which DS emulator are you using?