Files
Cesarus85--mjolnir-vr/source/interface
Milenko 7ac5978158 terminal_printf: take its arguments as a va_list
terminal_printf started its variable arguments into a char *, which is
what va_list is on the Xbox, 32-bit x86 and Apple silicon, but not on
x86-64, where va_list is a one-element array of a register-save
structure. On an Intel Mac (or under Rosetta) va_start wrote through an
uninitialised pointer and vsnprintf read garbage, so the first terminal
line printed with arguments crashed the game.

Choosing an empty profile slot is such a line: "player profile begin
editing" fails, as it does on the Xbox, and console_warning reports it
through terminal_printf, so setting up a profile crashed on Intel Macs.

(cherry picked from commit 024e41b8cb1553d7ad9b96233860848d49e5ad13)
2026-10-10 12:53:22 +13:00
..
2026-06-08 02:44:47 +01:00
2025-11-27 02:27:27 +00:00
2026-10-07 12:01:09 +13:00
2026-10-07 12:01:09 +13:00
2026-10-09 17:55:00 +13:00
2026-10-09 17:55:00 +13:00
2025-11-27 02:27:27 +00:00
2025-11-27 02:27:27 +00:00
2025-11-27 02:27:27 +00:00
2025-11-27 02:27:27 +00:00
2026-10-04 01:56:45 +13:00
2026-10-05 09:18:40 +13:00
2026-10-05 09:18:40 +13:00
2026-10-07 13:20:54 +13:00
2026-10-01 14:17:47 +13:00
2026-10-10 12:09:19 +13:00
2025-11-27 02:27:27 +00:00