We can make the enum class type compatible with fmt by providing an overload of operator<<. While we're at it, perform proper bounds checking. If something exceeds the array, it should be a hard fail, because it's, without a doubt, a programmer error in this case. |
||
|---|---|---|
| .. | ||
| deconstructed_rom_directory.cpp | ||
| deconstructed_rom_directory.h | ||
| elf.cpp | ||
| elf.h | ||
| linker.cpp | ||
| linker.h | ||
| loader.cpp | ||
| loader.h | ||
| nca.cpp | ||
| nca.h | ||
| nro.cpp | ||
| nro.h | ||
| nso.cpp | ||
| nso.h | ||
| xci.cpp | ||
| xci.h | ||