forked from dolphin-emu/dolphin
a825c7ddfe
DecodeString handles the case where there is no trailing null byte, so using it lets the code be a bit simpler.