Closed gemarcano closed 2 years ago
Just checked, G9 boots fine on my 3DS. Confirmed that is a build I made as of today and not an old copy.
Nice bug fix and thanks for the rest! For the future, perhaps just replacing all calls that use a fixed-size array as the target should use a macro (say, #define format_buf(b, s, ...) snprintf(b, sizeof(b), s, __VA_ARGS__))
) but that might be even more trouble than it's worth.
I tried to only modify snprintf calls that worked on buffers with known sizes, as sometimes they're used with buffers passed in as parameters (with expected sizes, but can't be determined via
sizeof
). Hopefully none of these snuck though.I haven't tested this yet on my 3DS. I'll update the state to not a draft once I can confirm I can boot this.