Maybe it's just my years of experience programming, but I don't see how that's easier than typing this in right place in the source code:
But whatever floats you boat
Also, I probably should have checked this earlier, but this is even easier. Dolphin has a hotkey for exiting. Stopping emulation is set to Escape, but you can change that:
http://i3.minus.com/ibteBTSoCROquh.png
Code:
exit(); //yup, that's it, a one-liner :pBut whatever floats you boat

Also, I probably should have checked this earlier, but this is even easier. Dolphin has a hotkey for exiting. Stopping emulation is set to Escape, but you can change that:
http://i3.minus.com/ibteBTSoCROquh.png
