forked from dolphin-emu/dolphin
File paths passed to it would have been implicitly converted to std::strings prior to this function being reached, so it gets rid of some string churn. It also makes it safer since nullptr can't be passed in.
File paths passed to it would have been implicitly converted to std::strings prior to this function being reached, so it gets rid of some string churn. It also makes it safer since nullptr can't be passed in.