I'm not interesting to fix that now since mode are not useful for me (using OPL), and that's used everywhere (big impact and work for no use). But i can write a bug reminder near declaration of COMPAT_FLAGS_INVALID.
If we use a bigger type int to keep the invalid value mecanism, we break for example the hdl_hdr mapping...
Example :
The issue is that compat_flags_t is a uchar, and with 8 modes, all bits are useful, so we can't rely on an invalid value.
I'm not interesting to fix that now since mode are not useful for me (using OPL), and that's used everywhere (big impact and work for no use). But i can write a bug reminder near declaration of COMPAT_FLAGS_INVALID. If we use a bigger type int to keep the invalid value mecanism, we break for example the hdl_hdr mapping...