Attached is a patch to make the embedded console in dolphin work.