https://github.com/dolphin-emu/dolphin/blob/master/Source/Core/DolphinWX/FrameTools.cpp#L649
https://github.com/dolphin-emu/dolphin/blob/master/Source/Core/DolphinWX/Main.cpp#L159