mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-27 10:01:01 +01:00
va_list types have an edge where after operating on it, then it is undefined behaviour to do anything other than va_end on the object. So in order to call vsnprintf on it multiple times we must create copies with va_copy. Easy enough to work around by doing a few more copies of the va_list