If DS is flashed, take everything out of DS (nothing in slot1 and nothing in slot2), and set the boot method to manual. Put M3 in slot2 and whatever in slot 1. Now when you turn on your DS, if you hit no buttons, it will boot to M3 NDS mode. If you hit either start or select, it will go to the DS main menu, and you can select Boot GBA